mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
1963 lines
46 KiB
C#
1963 lines
46 KiB
C#
// <auto-generated /> - edit Vector.swizzle.tt to modify
|
|
#nullable enable
|
|
|
|
namespace Brutal.Numerics;
|
|
|
|
public partial struct bool4
|
|
{
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 XY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Y);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Y = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 XZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Z);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Z = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 YX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, X);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
X = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 YZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, Z);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
Z = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 ZX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, X);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
X = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 ZY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, Y);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
Y = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 WY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Y);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Y = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 WZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Z);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Z = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 YW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, W);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
W = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 ZW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, W);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
W = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 XW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, W);
|
|
set
|
|
{
|
|
X = value.X;
|
|
W = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 WX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, X);
|
|
set
|
|
{
|
|
W = value.X;
|
|
X = value.Y;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Y and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XYZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Y, Z);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Y = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Z and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XZY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Z, Y);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Z = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, X and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YXZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, X, Z);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
X = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, Z and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YZX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, Z, X);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
Z = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, X and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZXY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, X, Y);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
X = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, Y and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZYX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, Y, X);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
Y = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Y and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WYZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Y, Z);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Y = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Z and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WZY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Z, Y);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Z = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, W and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YWZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, W, Z);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
W = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, Z and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YZW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, Z, W);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
Z = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, W and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZWY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, W, Y);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
W = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, Y and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZYW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, Y, W);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
Y = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, W and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XWZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, W, Z);
|
|
set
|
|
{
|
|
X = value.X;
|
|
W = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Z and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XZW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Z, W);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Z = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, X and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WXZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, X, Z);
|
|
set
|
|
{
|
|
W = value.X;
|
|
X = value.Y;
|
|
Z = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Z and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WZX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Z, X);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Z = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, X and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZXW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, X, W);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
X = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, W and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ZWX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, W, X);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
W = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Y and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XYW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Y, W);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Y = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, W and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 XWY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, W, Y);
|
|
set
|
|
{
|
|
X = value.X;
|
|
W = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, X and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YXW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, X, W);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
X = value.Y;
|
|
W = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, W and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 YWX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, W, X);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
W = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, X and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WXY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, X, Y);
|
|
set
|
|
{
|
|
W = value.X;
|
|
X = value.Y;
|
|
Y = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Y and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 WYX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Y, X);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Y = value.Y;
|
|
X = value.Z;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Y, Z and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 XYZW
|
|
{
|
|
readonly get => this;
|
|
set => this = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Y, W and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 XYWZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Y, W, Z);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Y = value.Y;
|
|
W = value.Z;
|
|
Z = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Z, Y and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 XZYW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Z, Y, W);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Z = value.Y;
|
|
Y = value.Z;
|
|
W = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, Z, W and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 XZWY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, Z, W, Y);
|
|
set
|
|
{
|
|
X = value.X;
|
|
Z = value.Y;
|
|
W = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the X, W, Z and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 XWZY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(X, W, Z, Y);
|
|
set
|
|
{
|
|
X = value.X;
|
|
W = value.Y;
|
|
Z = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, X, Z and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YXZW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, X, Z, W);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
X = value.Y;
|
|
Z = value.Z;
|
|
W = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, X, W and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YXWZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, X, W, Z);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
X = value.Y;
|
|
W = value.Z;
|
|
Z = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, Z, X and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YZXW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, Z, X, W);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
Z = value.Y;
|
|
X = value.Z;
|
|
W = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, Z, W and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YZWX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, Z, W, X);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
Z = value.Y;
|
|
W = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, W, X and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YWXZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, W, X, Z);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
W = value.Y;
|
|
X = value.Z;
|
|
Z = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Y, W, Z and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 YWZX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Y, W, Z, X);
|
|
set
|
|
{
|
|
Y = value.X;
|
|
W = value.Y;
|
|
Z = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, X, Y and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZXYW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, X, Y, W);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
X = value.Y;
|
|
Y = value.Z;
|
|
W = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, X, W and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZXWY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, X, W, Y);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
X = value.Y;
|
|
W = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, Y, X and W components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZYXW
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, Y, X, W);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
Y = value.Y;
|
|
X = value.Z;
|
|
W = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, Y, W and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZYWX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, Y, W, X);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
Y = value.Y;
|
|
W = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, W, X and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZWXY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, W, X, Y);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
W = value.Y;
|
|
X = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Z, W, Y and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ZWYX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(Z, W, Y, X);
|
|
set
|
|
{
|
|
Z = value.X;
|
|
W = value.Y;
|
|
Y = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, X, Y and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WXYZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, X, Y, Z);
|
|
set
|
|
{
|
|
W = value.X;
|
|
X = value.Y;
|
|
Y = value.Z;
|
|
Z = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, X, Z and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WXZY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, X, Z, Y);
|
|
set
|
|
{
|
|
W = value.X;
|
|
X = value.Y;
|
|
Z = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Y, X and Z components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WYXZ
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Y, X, Z);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Y = value.Y;
|
|
X = value.Z;
|
|
Z = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Y, Z and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WYZX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Y, Z, X);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Y = value.Y;
|
|
Z = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Z, X and Y components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WZXY
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Z, X, Y);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Z = value.Y;
|
|
X = value.Z;
|
|
Y = value.W;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the W, Z, Y and X components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 WZYX
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(W, Z, Y, X);
|
|
set
|
|
{
|
|
W = value.X;
|
|
Z = value.Y;
|
|
Y = value.Z;
|
|
X = value.W;
|
|
}
|
|
}
|
|
}
|
|
|
|
public partial struct bool4
|
|
{
|
|
/// <summary>
|
|
/// The Red component of the vector (synonym for X).
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool R
|
|
{
|
|
readonly get => X;
|
|
set => X = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The Green component of the vector (synonym for Y).
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool G
|
|
{
|
|
readonly get => Y;
|
|
set => Y = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The Blue component of the vector (synonym for Z).
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool B
|
|
{
|
|
readonly get => Z;
|
|
set => Z = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The Alpha component of the vector (synonym for W).
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool A
|
|
{
|
|
readonly get => W;
|
|
set => W = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 RG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, G);
|
|
set
|
|
{
|
|
R = value.R;
|
|
G = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 RB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, B);
|
|
set
|
|
{
|
|
R = value.R;
|
|
B = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 GR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, R);
|
|
set
|
|
{
|
|
G = value.R;
|
|
R = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 GB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, B);
|
|
set
|
|
{
|
|
G = value.R;
|
|
B = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 BR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, R);
|
|
set
|
|
{
|
|
B = value.R;
|
|
R = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 BG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, G);
|
|
set
|
|
{
|
|
B = value.R;
|
|
G = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 AG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, G);
|
|
set
|
|
{
|
|
A = value.R;
|
|
G = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 AB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, B);
|
|
set
|
|
{
|
|
A = value.R;
|
|
B = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 GA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, A);
|
|
set
|
|
{
|
|
G = value.R;
|
|
A = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 BA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, A);
|
|
set
|
|
{
|
|
B = value.R;
|
|
A = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 RA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, A);
|
|
set
|
|
{
|
|
R = value.R;
|
|
A = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool2 AR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, R);
|
|
set
|
|
{
|
|
A = value.R;
|
|
R = value.G;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Green, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RGB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, G, B);
|
|
set
|
|
{
|
|
R = value.R;
|
|
G = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Blue, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RBG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, B, G);
|
|
set
|
|
{
|
|
R = value.R;
|
|
B = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Red, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GRB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, R, B);
|
|
set
|
|
{
|
|
G = value.R;
|
|
R = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Blue, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GBR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, B, R);
|
|
set
|
|
{
|
|
G = value.R;
|
|
B = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Red, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BRG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, R, G);
|
|
set
|
|
{
|
|
B = value.R;
|
|
R = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Green, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BGR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, G, R);
|
|
set
|
|
{
|
|
B = value.R;
|
|
G = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Green, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 AGB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, G, B);
|
|
set
|
|
{
|
|
A = value.R;
|
|
G = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Blue, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ABG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, B, G);
|
|
set
|
|
{
|
|
A = value.R;
|
|
B = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Alpha, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GAB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, A, B);
|
|
set
|
|
{
|
|
G = value.R;
|
|
A = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Blue, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GBA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, B, A);
|
|
set
|
|
{
|
|
G = value.R;
|
|
B = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Alpha, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BAG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, A, G);
|
|
set
|
|
{
|
|
B = value.R;
|
|
A = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Green, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BGA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, G, A);
|
|
set
|
|
{
|
|
B = value.R;
|
|
G = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Alpha, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RAB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, A, B);
|
|
set
|
|
{
|
|
R = value.R;
|
|
A = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Blue, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RBA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, B, A);
|
|
set
|
|
{
|
|
R = value.R;
|
|
B = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Red, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ARB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, R, B);
|
|
set
|
|
{
|
|
A = value.R;
|
|
R = value.G;
|
|
B = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Blue, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ABR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, B, R);
|
|
set
|
|
{
|
|
A = value.R;
|
|
B = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Red, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BRA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, R, A);
|
|
set
|
|
{
|
|
B = value.R;
|
|
R = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Alpha, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 BAR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, A, R);
|
|
set
|
|
{
|
|
B = value.R;
|
|
A = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Green, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RGA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, G, A);
|
|
set
|
|
{
|
|
R = value.R;
|
|
G = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Alpha, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 RAG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, A, G);
|
|
set
|
|
{
|
|
R = value.R;
|
|
A = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Red, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GRA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, R, A);
|
|
set
|
|
{
|
|
G = value.R;
|
|
R = value.G;
|
|
A = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Alpha, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 GAR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, A, R);
|
|
set
|
|
{
|
|
G = value.R;
|
|
A = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Red, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 ARG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, R, G);
|
|
set
|
|
{
|
|
A = value.R;
|
|
R = value.G;
|
|
G = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Green, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool3 AGR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, G, R);
|
|
set
|
|
{
|
|
A = value.R;
|
|
G = value.G;
|
|
R = value.B;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Green, Blue, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RGBA
|
|
{
|
|
readonly get => this;
|
|
set => this = value;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Green, Alpha, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RGAB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, G, A, B);
|
|
set
|
|
{
|
|
R = value.R;
|
|
G = value.G;
|
|
A = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Blue, Green, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RBGA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, B, G, A);
|
|
set
|
|
{
|
|
R = value.R;
|
|
B = value.G;
|
|
G = value.B;
|
|
A = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Blue, Alpha, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RBAG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, B, A, G);
|
|
set
|
|
{
|
|
R = value.R;
|
|
B = value.G;
|
|
A = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Alpha, Green, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RAGB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, A, G, B);
|
|
set
|
|
{
|
|
R = value.R;
|
|
A = value.G;
|
|
G = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Red, Alpha, Blue, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 RABG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(R, A, B, G);
|
|
set
|
|
{
|
|
R = value.R;
|
|
A = value.G;
|
|
B = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Red, Blue, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GRBA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, R, B, A);
|
|
set
|
|
{
|
|
G = value.R;
|
|
R = value.G;
|
|
B = value.B;
|
|
A = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Red, Alpha, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GRAB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, R, A, B);
|
|
set
|
|
{
|
|
G = value.R;
|
|
R = value.G;
|
|
A = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Blue, Red, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GBRA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, B, R, A);
|
|
set
|
|
{
|
|
G = value.R;
|
|
B = value.G;
|
|
R = value.B;
|
|
A = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Blue, Alpha, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GBAR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, B, A, R);
|
|
set
|
|
{
|
|
G = value.R;
|
|
B = value.G;
|
|
A = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Alpha, Red, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GARB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, A, R, B);
|
|
set
|
|
{
|
|
G = value.R;
|
|
A = value.G;
|
|
R = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Green, Alpha, Blue, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 GABR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(G, A, B, R);
|
|
set
|
|
{
|
|
G = value.R;
|
|
A = value.G;
|
|
B = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Red, Green, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BRGA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, R, G, A);
|
|
set
|
|
{
|
|
B = value.R;
|
|
R = value.G;
|
|
G = value.B;
|
|
A = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Red, Alpha, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BRAG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, R, A, G);
|
|
set
|
|
{
|
|
B = value.R;
|
|
R = value.G;
|
|
A = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Green, Red, and Alpha components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BGRA
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, G, R, A);
|
|
set
|
|
{
|
|
B = value.R;
|
|
G = value.G;
|
|
R = value.B;
|
|
A = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Green, Alpha, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BGAR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, G, A, R);
|
|
set
|
|
{
|
|
B = value.R;
|
|
G = value.G;
|
|
A = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Alpha, Red, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BARG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, A, R, G);
|
|
set
|
|
{
|
|
B = value.R;
|
|
A = value.G;
|
|
R = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Blue, Alpha, Green, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 BAGR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(B, A, G, R);
|
|
set
|
|
{
|
|
B = value.R;
|
|
A = value.G;
|
|
G = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Red, Green, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ARGB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, R, G, B);
|
|
set
|
|
{
|
|
A = value.R;
|
|
R = value.G;
|
|
G = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Red, Blue, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ARBG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, R, B, G);
|
|
set
|
|
{
|
|
A = value.R;
|
|
R = value.G;
|
|
B = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Green, Red, and Blue components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 AGRB
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, G, R, B);
|
|
set
|
|
{
|
|
A = value.R;
|
|
G = value.G;
|
|
R = value.B;
|
|
B = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Green, Blue, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 AGBR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, G, B, R);
|
|
set
|
|
{
|
|
A = value.R;
|
|
G = value.G;
|
|
B = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Blue, Red, and Green components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ABRG
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, B, R, G);
|
|
set
|
|
{
|
|
A = value.R;
|
|
B = value.G;
|
|
R = value.B;
|
|
G = value.A;
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Swizzle readonly getter/setter for the Alpha, Blue, Green, and Red components of the vector.
|
|
/// </summary>
|
|
[XmlIgnore]
|
|
public bool4 ABGR
|
|
{
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
|
readonly get => new(A, B, G, R);
|
|
set
|
|
{
|
|
A = value.R;
|
|
B = value.G;
|
|
G = value.B;
|
|
R = value.A;
|
|
}
|
|
}
|
|
}
|