Consolidated library projects into a single one
This is necessary to produce a single output assembly
このコミットが含まれているのは:
1 親
a5217eef08
コミット
db2cb188ec
163ファイル変更
+228
-312
検索条件に一致するファイルはありません
@@ -1,67 +0,0 @@
|
||||
using System.Diagnostics;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="uint2"/> HLSL type.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y})")]
|
||||
public partial struct UInt2
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with all components set to 0.
|
||||
/// </summary>
|
||||
public static UInt2 Zero => 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with all components set to 1.
|
||||
/// </summary>
|
||||
public static UInt2 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="X"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt2 UnitX => new(1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt2"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt2 UnitY => new(0, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="y">The value to assign to the second vector component.</param>
|
||||
public UInt2(uint x, uint y)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt2"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="UInt2"/> instance.</param>
|
||||
public static implicit operator UInt2(uint x) => new(x, x);
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2"/> value to a <see cref="Int2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xy">The input <see cref="UInt2"/> value to cast.</param>
|
||||
public static explicit operator Int2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Int2)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2"/> value to a <see cref="Float2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xy">The input <see cref="UInt2"/> value to cast.</param>
|
||||
public static implicit operator Float2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Float2)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt2"/> value to a <see cref="Double2"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xy">The input <see cref="UInt2"/> value to cast.</param>
|
||||
public static implicit operator Double2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Double2)})");
|
||||
}
|
||||
}
|
||||
@@ -1,250 +0,0 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="UInt2"/>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
||||
public partial struct UInt2
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
private uint x;
|
||||
|
||||
[FieldOffset(4)]
|
||||
private uint y;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to a specific component in the current <see cref="UInt2"/> instance.
|
||||
/// </summary>
|
||||
/// <param name="i">The index of the component to access.</param>
|
||||
public ref uint this[int i] => throw new InvalidExecutionContextException($"{nameof(UInt2)}[int]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>X</c> component.
|
||||
/// </summary>
|
||||
public ref uint X => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(X)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>Y</c> component.
|
||||
/// </summary>
|
||||
public ref uint Y => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(Y)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>Z</c> component.
|
||||
/// </summary>
|
||||
public ref uint Z => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(Z)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>W</c> component.
|
||||
/// </summary>
|
||||
public ref uint W => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(W)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>R</c> component.
|
||||
/// </summary>
|
||||
public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(R)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>G</c> component.
|
||||
/// </summary>
|
||||
public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(G)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>B</c> component.
|
||||
/// </summary>
|
||||
public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(B)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>A</c> component.
|
||||
/// </summary>
|
||||
public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(A)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt2"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt2"/> value to sum.</param>
|
||||
/// <param name="right">The second <see cref="UInt2"/> value to sum.</param>
|
||||
public static UInt2 operator +(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.+");
|
||||
|
||||
/// <summary>
|
||||
/// Divides two <see cref="UInt2"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt2"/> value to divide.</param>
|
||||
/// <param name="right">The second <see cref="UInt2"/> value to divide.</param>
|
||||
public static UInt2 operator /(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}./");
|
||||
|
||||
/// <summary>
|
||||
/// Multiplies two <see cref="UInt2"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt2"/> value to multiply.</param>
|
||||
/// <param name="right">The second <see cref="UInt2"/> value to multiply.</param>
|
||||
public static UInt2 operator *(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.*");
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts two <see cref="UInt2"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt2"/> value to subtract.</param>
|
||||
/// <param name="right">The second <see cref="UInt2"/> value to subtract.</param>
|
||||
public static UInt2 operator -(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.-");
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt2", sizeof(uint));
|
||||
#>
|
||||
@@ -1,98 +0,0 @@
|
||||
using System.Diagnostics;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="uint3"/> HLSL type.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z})")]
|
||||
public partial struct UInt3
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with all components set to 0.
|
||||
/// </summary>
|
||||
public static UInt3 Zero => 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with all components set to 1.
|
||||
/// </summary>
|
||||
public static UInt3 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="X"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt3 UnitX => new(1, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt3 UnitY => new(0, 1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt3"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt3 UnitZ => new(0, 0, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="y">The value to assign to the second vector component.</param>
|
||||
/// <param name="z">The value to assign to the third vector component.</param>
|
||||
public UInt3(uint x, uint y, uint z)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="xy">The value to assign to the first and second vector components.</param>
|
||||
/// <param name="z">The value to assign to the third vector component.</param>
|
||||
public UInt3(UInt2 xy, uint z)
|
||||
{
|
||||
this.x = xy.X;
|
||||
this.y = xy.Y;
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="yz">The value to assign to the second and thirt vector components.</param>
|
||||
public UInt3(uint x, UInt2 yz)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = yz.X;
|
||||
this.z = yz.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt3"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="UInt3"/> instance.</param>
|
||||
public static implicit operator UInt3(uint x) => new(x, x, x);
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3"/> value to a <see cref="Int3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The input <see cref="UInt3"/> value to cast.</param>
|
||||
public static explicit operator Int3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Int3)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3"/> value to a <see cref="Float3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The input <see cref="UInt3"/> value to cast.</param>
|
||||
public static implicit operator Float3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Float3)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt3"/> value to a <see cref="Double3"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The input <see cref="UInt3"/> value to cast.</param>
|
||||
public static implicit operator Double3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Double3)})");
|
||||
}
|
||||
}
|
||||
@@ -1,893 +0,0 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <inheritdoc cref="UInt3"/>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct UInt3
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
private uint x;
|
||||
|
||||
[FieldOffset(4)]
|
||||
private uint y;
|
||||
|
||||
[FieldOffset(8)]
|
||||
private uint z;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to a specific component in the current <see cref="UInt3"/> instance.
|
||||
/// </summary>
|
||||
/// <param name="i">The index of the component to access.</param>
|
||||
public ref uint this[int i] => throw new InvalidExecutionContextException($"{nameof(UInt3)}[int]");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>X</c> component.
|
||||
/// </summary>
|
||||
public ref uint X => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(X)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>Y</c> component.
|
||||
/// </summary>
|
||||
public ref uint Y => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(Y)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>Z</c> component.
|
||||
/// </summary>
|
||||
public ref uint Z => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(Z)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>W</c> component.
|
||||
/// </summary>
|
||||
public ref uint W => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(W)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 XW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 YW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 ZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 WZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 XWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 XWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 YWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 YWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ZWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ZWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 WZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="X"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWX)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Y"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWY)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Z"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWZ)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="W"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 WWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWW)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>R</c> component.
|
||||
/// </summary>
|
||||
public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(R)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>G</c> component.
|
||||
/// </summary>
|
||||
public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(G)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>B</c> component.
|
||||
/// </summary>
|
||||
public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(B)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="uint"/> value representing the <c>A</c> component.
|
||||
/// </summary>
|
||||
public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(A)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 RA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 GA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 BA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt2 AB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt2"/> value with the components <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 RAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 RAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 GAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 GAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BRG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 BAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 BAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ARR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ARG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ARB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ARA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 AGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 AGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ABR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref UInt3 ABG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ABB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 ABA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="R"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAR)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="G"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAG)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="B"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAB)}");
|
||||
|
||||
/// <summary>
|
||||
/// Gets a readonly reference to the <see cref="UInt3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="A"/>.
|
||||
/// </summary>
|
||||
public ref readonly UInt3 AAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAA)}");
|
||||
|
||||
/// <summary>
|
||||
/// Sums two <see cref="UInt3"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt3"/> value to sum.</param>
|
||||
/// <param name="right">The second <see cref="UInt3"/> value to sum.</param>
|
||||
public static UInt3 operator +(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.+");
|
||||
|
||||
/// <summary>
|
||||
/// Divides two <see cref="UInt3"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt3"/> value to divide.</param>
|
||||
/// <param name="right">The second <see cref="UInt3"/> value to divide.</param>
|
||||
public static UInt3 operator /(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}./");
|
||||
|
||||
/// <summary>
|
||||
/// Multiplies two <see cref="UInt3"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt3"/> value to multiply.</param>
|
||||
/// <param name="right">The second <see cref="UInt3"/> value to multiply.</param>
|
||||
public static UInt3 operator *(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.*");
|
||||
|
||||
/// <summary>
|
||||
/// Subtracts two <see cref="UInt3"/> values.
|
||||
/// </summary>
|
||||
/// <param name="left">The first <see cref="UInt3"/> value to subtract.</param>
|
||||
/// <param name="right">The second <see cref="UInt3"/> value to subtract.</param>
|
||||
public static UInt3 operator -(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.-");
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt3", sizeof(uint));
|
||||
#>
|
||||
@@ -1,148 +0,0 @@
|
||||
using System.Diagnostics;
|
||||
using ComputeSharp.Exceptions;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
/// <summary>
|
||||
/// A <see langword="struct"/> that maps the <see langword="uint4"/> HLSL type.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("({X}, {Y}, {Z}, {W})")]
|
||||
public partial struct UInt4
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with all components set to 0.
|
||||
/// </summary>
|
||||
public static UInt4 Zero => 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with all components set to 1.
|
||||
/// </summary>
|
||||
public static UInt4 One => 1;
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with the <see cref="X"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt4 UnitX => new(1, 0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt4 UnitY => new(0, 1, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt4 UnitZ => new(0, 0, 1, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Gets an <see cref="UInt4"/> value with the <see cref="W"/> component set to 1, and the others to 0.
|
||||
/// </summary>
|
||||
public static UInt4 UnitW => new(0, 0, 0, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="y">The value to assign to the second vector component.</param>
|
||||
/// <param name="z">The value to assign to the third vector component.</param>
|
||||
/// <param name="w">The value to assign to the fourth vector component.</param>
|
||||
public UInt4(uint x, uint y, uint z, uint w)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = z;
|
||||
this.w = w;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="xy">The value to assign to the first and second vector components.</param>
|
||||
/// <param name="z">The value to assign to the third vector component.</param>
|
||||
/// <param name="w">The value to assign to the fourth vector component.</param>
|
||||
public UInt4(UInt2 xy, uint z, uint w)
|
||||
{
|
||||
this.x = xy.X;
|
||||
this.y = xy.Y;
|
||||
this.z = z;
|
||||
this.w = w;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="y">The value to assign to the second vector component.</param>
|
||||
/// <param name="zw">The value to assign to the third and fourth vector components.</param>
|
||||
public UInt4(uint x, uint y, UInt2 zw)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.z = zw.X;
|
||||
this.w = zw.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="xy">The value to assign to the first and second vector components.</param>
|
||||
/// <param name="zw">The value to assign to the third and fourth vector components.</param>
|
||||
public UInt4(UInt2 xy, UInt2 zw)
|
||||
{
|
||||
this.x = xy.X;
|
||||
this.y = xy.Y;
|
||||
this.z = zw.X;
|
||||
this.w = zw.Y;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="xyz">The value to assign to the first, second and third vector components.</param>
|
||||
/// <param name="w">The value to assign to the fourth vector component.</param>
|
||||
public UInt4(UInt3 xyz, uint w)
|
||||
{
|
||||
this.x = xyz.X;
|
||||
this.y = xyz.Y;
|
||||
this.z = xyz.Z;
|
||||
this.w = w;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to assign to the first vector component.</param>
|
||||
/// <param name="yzw">The value to assign to the second, third and fourth vector components.</param>
|
||||
public UInt4(uint x, UInt3 yzw)
|
||||
{
|
||||
this.x = x;
|
||||
this.y = yzw.X;
|
||||
this.z = yzw.Y;
|
||||
this.w = yzw.Z;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="UInt4"/> value with the same value for all its components.
|
||||
/// </summary>
|
||||
/// <param name="x">The value to use for the components of the new <see cref="UInt4"/> instance.</param>
|
||||
public static implicit operator UInt4(uint x) => new(x, x, x, x);
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4"/> value to a <see cref="Int4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The input <see cref="UInt4"/> value to cast.</param>
|
||||
public static explicit operator Int4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Int4)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4"/> value to a <see cref="Float4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The input <see cref="UInt4"/> value to cast.</param>
|
||||
public static implicit operator Float4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Float4)})");
|
||||
|
||||
/// <summary>
|
||||
/// Casts a <see cref="UInt4"/> value to a <see cref="Double4"/> one.
|
||||
/// </summary>
|
||||
/// <param name="xyzw">The input <see cref="UInt4"/> value to cast.</param>
|
||||
public static implicit operator Double4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Double4)})");
|
||||
}
|
||||
}
|
||||
ファイル差分が大きすぎるため表示されません。
差分を読み込み
@@ -1,4 +0,0 @@
|
||||
<#@include file="..\VectorType.ttinclude" #>
|
||||
<#
|
||||
GenerateVectorProperties("UInt4", sizeof(uint));
|
||||
#>
|
||||
新しいイシューから参照
ユーザーをブロックする