Consolidated library projects into a single one

This is necessary to produce a single output assembly
このコミットが含まれているのは:
Sergio Pedri committed 2021-02-25 18:56:27 +01:00
1 親 a5217eef08
コミット db2cb188ec
163ファイル変更
+228 -312

検索条件に一致するファイルはありません

-78
ファイルの表示
@@ -1,78 +0,0 @@
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that can be used in place of the <see cref="bool"/> type in HLSL shaders.
/// </summary>
[DebuggerDisplay("{Value}")]
[StructLayout(LayoutKind.Explicit, Size = sizeof(int))]
public readonly struct Bool
{
/// <summary>
/// The wrapped <see cref="bool"/> value for the current instance.
/// </summary>
[FieldOffset(0)]
private readonly bool Value;
/// <summary>
/// Creates a new <see cref="Bool"/> instance for a given <see cref="bool"/> value.
/// </summary>
/// <param name="value">.</param>
private Bool(bool value)
{
Value = value;
}
/// <inheritdoc/>
public override bool Equals(object? obj)
{
return obj is Bool x && Value == x.Value;
}
/// <inheritdoc/>
public override int GetHashCode()
{
return Value.GetHashCode();
}
/// <inheritdoc/>
public override string ToString()
{
return Value.ToString();
}
/// <summary>
/// Checks whether or not two <see cref="Bool"/> instances represent the same <see cref="bool"/> value.
/// </summary>
/// <param name="left">The left <see cref="Bool"/> instance.</param>
/// <param name="right">The right <see cref="Bool"/> instance.</param>
public static bool operator ==(Bool left, Bool right) => left.Value == right.Value;
/// <summary>
/// Checks whether or not two <see cref="Bool"/> instances represent a different <see cref="bool"/> value.
/// </summary>
/// <param name="left">The left <see cref="Bool"/> instance.</param>
/// <param name="right">The right <see cref="Bool"/> instance.</param>
public static bool operator !=(Bool left, Bool right) => left.Value != right.Value;
/// <summary>
/// Inverts the <see cref="bool"/> value represented by a given <see cref="Bool"/> instance.
/// </summary>
/// <param name="x">The input <see cref="Bool"/> instance.</param>
public static Bool operator !(Bool x) => new(!x.Value);
/// <summary>
/// Converts a given <see cref="Bool"/> instance to its corresponding <see cref="bool"/> value.
/// </summary>
/// <param name="x">The input <see cref="Bool"/> instance.</param>
public static implicit operator bool(Bool x) => x.Value;
/// <summary>
/// Converts a <see cref="bool"/> value to a corresponding <see cref="Bool"/> instance.
/// </summary>
/// <param name="x">The input <see cref="bool"/> value.</param>
public static implicit operator Bool(bool x) => new(x);
}
}
-48
ファイルの表示
@@ -1,48 +0,0 @@
using System.Diagnostics;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="bool2"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y})")]
public partial struct Bool2
{
/// <summary>
/// Gets an <see cref="Bool2"/> value with all components set to <see langword="false"/>.
/// </summary>
public static Bool2 False => false;
/// <summary>
/// Gets an <see cref="Bool2"/> value with all components set to <see langword="true"/>.
/// </summary>
public static Bool2 True => true;
/// <summary>
/// Gets an <see cref="Bool2"/> value with the <see cref="X"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool2 TrueX => new(true, false);
/// <summary>
/// Gets an <see cref="Bool2"/> value with the <see cref="Y"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool2 TrueY => new(false, true);
/// <summary>
/// Creates a new <see cref="Bool2"/> 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 Bool2(bool x, bool y)
{
this.x = x;
this.y = y;
}
/// <summary>
/// Creates a new <see cref="Bool2"/> 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="Bool2"/> instance.</param>
public static implicit operator Bool2(bool x) => new(x, x);
}
}
-222
ファイルの表示
@@ -1,222 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Bool2"/>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct Bool2
{
[FieldOffset(0)]
private bool x;
[FieldOffset(4)]
private bool y;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Bool2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref bool this[int i] => throw new InvalidExecutionContextException($"{nameof(Bool2)}[int]");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>X</c> component.
/// </summary>
public ref bool X => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Y</c> component.
/// </summary>
public ref bool Y => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Z</c> component.
/// </summary>
public ref bool Z => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>W</c> component.
/// </summary>
public ref bool W => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 XW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 YX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 YW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 ZW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 WX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 WY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 WZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WW)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>R</c> component.
/// </summary>
public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>G</c> component.
/// </summary>
public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>B</c> component.
/// </summary>
public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>A</c> component.
/// </summary>
public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 RA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 GA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 BA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 AR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 AG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 AB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AA)}");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Bool2", sizeof(int));
#>
-79
ファイルの表示
@@ -1,79 +0,0 @@
using System.Diagnostics;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="bool3"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z})")]
public partial struct Bool3
{
/// <summary>
/// Gets an <see cref="Bool3"/> value with all components set to <see langword="false"/>.
/// </summary>
public static Bool3 False => false;
/// <summary>
/// Gets an <see cref="Bool3"/> value with all components set to <see langword="true"/>.
/// </summary>
public static Bool3 True => true;
/// <summary>
/// Gets an <see cref="Bool3"/> value with the <see cref="X"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool3 TrueX => new(true, false, false);
/// <summary>
/// Gets an <see cref="Bool3"/> value with the <see cref="Y"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool3 TrueY => new(false, true, false);
/// <summary>
/// Gets an <see cref="Bool3"/> value with the <see cref="Z"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool3 TrueZ => new(false, false, true);
/// <summary>
/// Creates a new <see cref="Bool3"/> 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 Bool3(bool x, bool y, bool z)
{
this.x = x;
this.y = y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Bool3"/> 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 Bool3(Bool2 xy, bool z)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Bool3"/> 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 Bool3(bool x, Bool2 yz)
{
this.x = x;
this.y = yz.X;
this.z = yz.Y;
}
/// <summary>
/// Creates a new <see cref="Bool3"/> 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="Bool3"/> instance.</param>
public static implicit operator Bool3(bool x) => new(x, x, x);
}
}
-865
ファイルの表示
@@ -1,865 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Bool3"/>
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct Bool3
{
[FieldOffset(0)]
private bool x;
[FieldOffset(4)]
private bool y;
[FieldOffset(8)]
private bool z;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Bool3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref bool this[int i] => throw new InvalidExecutionContextException($"{nameof(Bool3)}[int]");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>X</c> component.
/// </summary>
public ref bool X => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Y</c> component.
/// </summary>
public ref bool Y => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>Z</c> component.
/// </summary>
public ref bool Z => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>W</c> component.
/// </summary>
public ref bool W => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 XW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 YX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 YW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Bool2 ZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Bool2 WX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Bool2 WY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Bool2 WZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 XXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 XXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 XYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 XYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 XZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 XZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 XWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 XWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 XWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 XWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 YXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 YXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 YYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 YYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 YZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 YZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 YWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 YWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 YWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 YWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 ZXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 ZXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 ZXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 ZYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 ZYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Bool3 ZYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 ZZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 ZZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 ZZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 ZWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 ZWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 ZWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 WXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 WXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 WXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 WXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 WYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 WYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYY)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Bool3 WYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 WYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYW)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Bool3 WZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZX)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Bool3 WZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 WZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 WZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Bool3 WWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Bool3 WWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Bool3 WWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Bool3 WWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWW)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>R</c> component.
/// </summary>
public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>G</c> component.
/// </summary>
public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>B</c> component.
/// </summary>
public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="bool"/> value representing the <c>A</c> component.
/// </summary>
public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 RA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 GA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Bool2 BA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Bool2 AR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Bool2 AG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Bool2 AB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 RRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 RGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 RGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 RBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 RBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 RAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 RAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 RAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 RAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 GRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 GRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 GGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 GBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 GBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 GAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 GAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 GAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 GAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 BRG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 BRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 BGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGB)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Bool3 BGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 BBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 BAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 BAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 BAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 BAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 ARR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 ARG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 ARB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 ARA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 AGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 AGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGG)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Bool3 AGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 AGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGA)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Bool3 ABR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABR)}");
/// <summary>
/// Gets a reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Bool3 ABG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 ABB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 ABA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Bool3 AAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Bool3 AAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Bool3 AAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Bool3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Bool3 AAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAA)}");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Bool3", sizeof(int));
#>
-129
ファイルの表示
@@ -1,129 +0,0 @@
using System.Diagnostics;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="bool4"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z}, {W})")]
public partial struct Bool4
{
/// <summary>
/// Gets an <see cref="Bool4"/> value with all components set to <see langword="false"/>.
/// </summary>
public static Bool4 False => false;
/// <summary>
/// Gets an <see cref="Bool4"/> value with all components set to <see langword="true"/>.
/// </summary>
public static Bool4 True => true;
/// <summary>
/// Gets an <see cref="Bool4"/> value with the <see cref="X"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool4 TrueX => new(true, false, false, false);
/// <summary>
/// Gets an <see cref="Bool4"/> value with the <see cref="Y"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool4 TrueY => new(false, true, false, false);
/// <summary>
/// Gets an <see cref="Bool4"/> value with the <see cref="Z"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool4 TrueZ => new(false, false, true, false);
/// <summary>
/// Gets an <see cref="Bool4"/> value with the <see cref="W"/> component set to <see langword="true"/>, and the others to <see langword="false"/>.
/// </summary>
public static Bool4 TrueW => new(false, false, false, true);
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(bool x, bool y, bool z, bool w)
{
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(Bool2 xy, bool z, bool w)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(bool x, bool y, Bool2 zw)
{
this.x = x;
this.y = y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(Bool2 xy, Bool2 zw)
{
this.x = xy.X;
this.y = xy.Y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(Bool3 xyz, bool w)
{
this.x = xyz.X;
this.y = xyz.Y;
this.z = xyz.Z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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 Bool4(bool x, Bool3 yzw)
{
this.x = x;
this.y = yzw.X;
this.z = yzw.Y;
this.w = yzw.Z;
}
/// <summary>
/// Creates a new <see cref="Bool4"/> 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="Bool4"/> instance.</param>
public static implicit operator Bool4(bool x) => new(x, x, x, x);
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Bool4", sizeof(int));
#>
-67
ファイルの表示
@@ -1,67 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="double2"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y})")]
public partial struct Double2
{
/// <summary>
/// Gets an <see cref="Double2"/> value with all components set to 0.
/// </summary>
public static Double2 Zero => 0;
/// <summary>
/// Gets an <see cref="Double2"/> value with all components set to 1.
/// </summary>
public static Double2 One => 1;
/// <summary>
/// Gets an <see cref="Double2"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Double2 UnitX => new(1, 0);
/// <summary>
/// Gets an <see cref="Double2"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Double2 UnitY => new(0, 1);
/// <summary>
/// Creates a new <see cref="Double2"/> 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 Double2(double x, double y)
{
this.x = x;
this.y = y;
}
/// <summary>
/// Creates a new <see cref="Double2"/> 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="Double2"/> instance.</param>
public static implicit operator Double2(double x) => new(x, x);
/// <summary>
/// Casts a <see cref="Double2"/> value to a <see cref="Int2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Double2"/> value to cast.</param>
public static explicit operator Int2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(Int2)})");
/// <summary>
/// Casts a <see cref="Double2"/> value to a <see cref="UInt2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Double2"/> value to cast.</param>
public static explicit operator UInt2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(UInt2)})");
/// <summary>
/// Casts a <see cref="Double2"/> value to a <see cref="Float2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Double2"/> value to cast.</param>
public static explicit operator Float2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(Float2)})");
}
}
-256
ファイルの表示
@@ -1,256 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Double2"/>
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct Double2
{
[FieldOffset(0)]
private double x;
[FieldOffset(8)]
private double y;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Double2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref double this[int i] => throw new InvalidExecutionContextException($"{nameof(Double2)}[int]");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>X</c> component.
/// </summary>
public ref double X => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Y</c> component.
/// </summary>
public ref double Y => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Z</c> component.
/// </summary>
public ref double Z => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>W</c> component.
/// </summary>
public ref double W => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Double2 XW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double2 YX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Double2 YW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Double2 ZW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Double2 WX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 WY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 WZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WW)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>R</c> component.
/// </summary>
public ref double R => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>G</c> component.
/// </summary>
public ref double G => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>B</c> component.
/// </summary>
public ref double B => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>A</c> component.
/// </summary>
public ref double A => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Double2 RA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Double2 GA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Double2 BA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Double2 AR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Double2 AG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Double2 AB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AA)}");
/// <summary>
/// Negates a <see cref="Double2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Double2"/> value to negate.</param>
public static Double2 operator -(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.-");
/// <summary>
/// Sums two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to sum.</param>
/// <param name="right">The second <see cref="Double2"/> value to sum.</param>
public static Double2 operator +(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.+");
/// <summary>
/// Divides two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to divide.</param>
/// <param name="right">The second <see cref="Double2"/> value to divide.</param>
public static Double2 operator /(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}./");
/// <summary>
/// Multiplies two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Double2"/> value to multiply.</param>
public static Double2 operator *(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.*");
/// <summary>
/// Subtracts two <see cref="Double2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Double2"/> value to subtract.</param>
public static Double2 operator -(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{nameof(Double2)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Double2", sizeof(double));
#>
-98
ファイルの表示
@@ -1,98 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="double3"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z})")]
public partial struct Double3
{
/// <summary>
/// Gets an <see cref="Double3"/> value with all components set to 0.
/// </summary>
public static Double3 Zero => 0;
/// <summary>
/// Gets an <see cref="Double3"/> value with all components set to 1.
/// </summary>
public static Double3 One => 1;
/// <summary>
/// Gets an <see cref="Double3"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Double3 UnitX => new(1, 0, 0);
/// <summary>
/// Gets an <see cref="Double3"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Double3 UnitY => new(0, 1, 0);
/// <summary>
/// Gets an <see cref="Double3"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Double3 UnitZ => new(0, 0, 1);
/// <summary>
/// Creates a new <see cref="Double3"/> 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 Double3(double x, double y, double z)
{
this.x = x;
this.y = y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Double3"/> 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 Double3(Double2 xy, double z)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Double3"/> 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 Double3(double x, Double2 yz)
{
this.x = x;
this.y = yz.X;
this.z = yz.Y;
}
/// <summary>
/// Creates a new <see cref="Double3"/> 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="Double3"/> instance.</param>
public static implicit operator Double3(double x) => new(x, x, x);
/// <summary>
/// Casts a <see cref="Double3"/> value to a <see cref="Int3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Double3"/> value to cast.</param>
public static explicit operator Int3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(Int3)})");
/// <summary>
/// Casts a <see cref="Double3"/> value to a <see cref="UInt3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Double3"/> value to cast.</param>
public static explicit operator UInt3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(UInt3)})");
/// <summary>
/// Casts a <see cref="Double3"/> value to a <see cref="Float3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Double3"/> value to cast.</param>
public static explicit operator Float3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(Float3)})");
}
}
-899
ファイルの表示
@@ -1,899 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Double3"/>
[StructLayout(LayoutKind.Explicit, Size = 24)]
public partial struct Double3
{
[FieldOffset(0)]
private double x;
[FieldOffset(8)]
private double y;
[FieldOffset(16)]
private double z;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Double3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref double this[int i] => throw new InvalidExecutionContextException($"{nameof(Double3)}[int]");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>X</c> component.
/// </summary>
public ref double X => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Y</c> component.
/// </summary>
public ref double Y => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>Z</c> component.
/// </summary>
public ref double Z => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>W</c> component.
/// </summary>
public ref double W => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Double2 XW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double2 YX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Double2 YW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Double2 ZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Double2 WX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Double2 WY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Double2 WZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 XXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 XXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 XYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 XYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Double3 XYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 XZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Double3 XZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 XWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 XWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 XWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 XWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 YXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 YXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Double3 YXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 YYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 YYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double3 YZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Double3 YZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Double3 YWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 YWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 YWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 YWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 ZXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 ZXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Double3 ZXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double3 ZYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 ZYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Double3 ZYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 ZZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 ZZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 ZZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Double3 ZWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 ZWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 ZWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 WXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 WXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 WXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 WXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Double3 WYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 WYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYY)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Double3 WYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 WYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYW)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Double3 WZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZX)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Double3 WZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 WZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 WZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Double3 WWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Double3 WWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Double3 WWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Double3 WWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWW)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>R</c> component.
/// </summary>
public ref double R => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>G</c> component.
/// </summary>
public ref double G => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>B</c> component.
/// </summary>
public ref double B => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="double"/> value representing the <c>A</c> component.
/// </summary>
public ref double A => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Double2 RA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Double2 GA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Double2 BA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Double2 AR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Double2 AG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Double2 AB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 RRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double3 RGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Double3 RGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double3 RBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Double3 RBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 RAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Double3 RAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Double3 RAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 RAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double3 GRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Double3 GRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 GGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double3 GBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Double3 GBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Double3 GAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 GAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Double3 GAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 GAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double3 BRG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Double3 BRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double3 BGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGB)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Double3 BGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 BBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Double3 BAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Double3 BAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 BAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 BAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 ARR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Double3 ARG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Double3 ARB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 ARA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Double3 AGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 AGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGG)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Double3 AGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 AGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGA)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Double3 ABR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABR)}");
/// <summary>
/// Gets a reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Double3 ABG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 ABB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 ABA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Double3 AAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Double3 AAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Double3 AAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Double3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Double3 AAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAA)}");
/// <summary>
/// Negates a <see cref="Double3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Double3"/> value to negate.</param>
public static Double3 operator -(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.-");
/// <summary>
/// Sums two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to sum.</param>
/// <param name="right">The second <see cref="Double3"/> value to sum.</param>
public static Double3 operator +(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.+");
/// <summary>
/// Divides two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to divide.</param>
/// <param name="right">The second <see cref="Double3"/> value to divide.</param>
public static Double3 operator /(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}./");
/// <summary>
/// Multiplies two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Double3"/> value to multiply.</param>
public static Double3 operator *(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.*");
/// <summary>
/// Subtracts two <see cref="Double3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Double3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Double3"/> value to subtract.</param>
public static Double3 operator -(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{nameof(Double3)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Double3", sizeof(double));
#>
-148
ファイルの表示
@@ -1,148 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="double4"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z}, {W})")]
public partial struct Double4
{
/// <summary>
/// Gets an <see cref="Double4"/> value with all components set to 0.
/// </summary>
public static Double4 Zero => 0;
/// <summary>
/// Gets an <see cref="Double4"/> value with all components set to 1.
/// </summary>
public static Double4 One => 1;
/// <summary>
/// Gets an <see cref="Double4"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Double4 UnitX => new(1, 0, 0, 0);
/// <summary>
/// Gets an <see cref="Double4"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Double4 UnitY => new(0, 1, 0, 0);
/// <summary>
/// Gets an <see cref="Double4"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Double4 UnitZ => new(0, 0, 1, 0);
/// <summary>
/// Gets an <see cref="Double4"/> value with the <see cref="W"/> component set to 1, and the others to 0.
/// </summary>
public static Double4 UnitW => new(0, 0, 0, 1);
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(double x, double y, double z, double w)
{
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(Double2 xy, double z, double w)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(double x, double y, Double2 zw)
{
this.x = x;
this.y = y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(Double2 xy, Double2 zw)
{
this.x = xy.X;
this.y = xy.Y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(Double3 xyz, double w)
{
this.x = xyz.X;
this.y = xyz.Y;
this.z = xyz.Z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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 Double4(double x, Double3 yzw)
{
this.x = x;
this.y = yzw.X;
this.z = yzw.Y;
this.w = yzw.Z;
}
/// <summary>
/// Creates a new <see cref="Double4"/> 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="Double4"/> instance.</param>
public static implicit operator Double4(double x) => new(x, x, x, x);
/// <summary>
/// Casts a <see cref="Double4"/> value to a <see cref="Int4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Double4"/> value to cast.</param>
public static explicit operator Int4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(Int4)})");
/// <summary>
/// Casts a <see cref="Double4"/> value to a <see cref="UInt4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Double4"/> value to cast.</param>
public static explicit operator UInt4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(UInt4)})");
/// <summary>
/// Casts a <see cref="Double4"/> value to a <see cref="Float4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Double4"/> value to cast.</param>
public static explicit operator Float4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(Float4)})");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Double4", sizeof(double));
#>
-80
ファイルの表示
@@ -1,80 +0,0 @@
using System.Diagnostics;
using System.Numerics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="float2"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y})")]
public partial struct Float2
{
/// <summary>
/// Gets an <see cref="Float2"/> value with all components set to 0.
/// </summary>
public static Float2 Zero => 0;
/// <summary>
/// Gets an <see cref="Float2"/> value with all components set to 1.
/// </summary>
public static Float2 One => 1;
/// <summary>
/// Gets an <see cref="Float2"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Float2 UnitX => new(1, 0);
/// <summary>
/// Gets an <see cref="Float2"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Float2 UnitY => new(0, 1);
/// <summary>
/// Creates a new <see cref="Float2"/> 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 Float2(float x, float y)
{
this.x = x;
this.y = y;
}
/// <summary>
/// Creates a new <see cref="Float2"/> 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="Float2"/> instance.</param>
public static implicit operator Float2(float x) => new(x, x);
/// <summary>
/// Casts a <see cref="Float2"/> value to a <see cref="Vector2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Float2"/> value to cast.</param>
public static unsafe implicit operator Vector2(Float2 xy) => *(Vector2*)&xy;
/// <summary>
/// Casts a <see cref="Vector2"/> value to a <see cref="Float2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Vector2"/> value to cast.</param>
public static unsafe implicit operator Float2(Vector2 xy) => *(Float2*)&xy;
/// <summary>
/// Casts a <see cref="Float2"/> value to a <see cref="Double2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Float2"/> value to cast.</param>
public static implicit operator Double2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(Double2)})");
/// <summary>
/// Casts a <see cref="Float2"/> value to a <see cref="Int2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Float2"/> value to cast.</param>
public static explicit operator Int2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(Int2)})");
/// <summary>
/// Casts a <see cref="Float2"/> value to a <see cref="UInt2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Float2"/> value to cast.</param>
public static explicit operator UInt2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(UInt2)})");
}
}
-256
ファイルの表示
@@ -1,256 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Float2"/>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct Float2
{
[FieldOffset(0)]
private float x;
[FieldOffset(4)]
private float y;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Float2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref float this[int i] => throw new InvalidExecutionContextException($"{nameof(Float2)}[int]");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>X</c> component.
/// </summary>
public ref float X => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Y</c> component.
/// </summary>
public ref float Y => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Z</c> component.
/// </summary>
public ref float Z => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>W</c> component.
/// </summary>
public ref float W => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Float2 XW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float2 YX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Float2 YW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Float2 ZW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Float2 WX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 WY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 WZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WW)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>R</c> component.
/// </summary>
public ref float R => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>G</c> component.
/// </summary>
public ref float G => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>B</c> component.
/// </summary>
public ref float B => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>A</c> component.
/// </summary>
public ref float A => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Float2 RA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Float2 GA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Float2 BA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Float2 AR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Float2 AG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Float2 AB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AA)}");
/// <summary>
/// Negates a <see cref="Float2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Float2"/> value to negate.</param>
public static Float2 operator -(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.-");
/// <summary>
/// Sums two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to sum.</param>
/// <param name="right">The second <see cref="Float2"/> value to sum.</param>
public static Float2 operator +(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.+");
/// <summary>
/// Divides two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to divide.</param>
/// <param name="right">The second <see cref="Float2"/> value to divide.</param>
public static Float2 operator /(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}./");
/// <summary>
/// Multiplies two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Float2"/> value to multiply.</param>
public static Float2 operator *(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.*");
/// <summary>
/// Subtracts two <see cref="Float2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Float2"/> value to subtract.</param>
public static Float2 operator -(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{nameof(Float2)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Float2", sizeof(float));
#>
-111
ファイルの表示
@@ -1,111 +0,0 @@
using System.Diagnostics;
using System.Numerics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="float3"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z})")]
public partial struct Float3
{
/// <summary>
/// Gets an <see cref="Float3"/> value with all components set to 0.
/// </summary>
public static Float3 Zero => 0;
/// <summary>
/// Gets an <see cref="Float3"/> value with all components set to 1.
/// </summary>
public static Float3 One => 1;
/// <summary>
/// Gets an <see cref="Float3"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Float3 UnitX => new(1, 0, 0);
/// <summary>
/// Gets an <see cref="Float3"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Float3 UnitY => new(0, 1, 0);
/// <summary>
/// Gets an <see cref="Float3"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Float3 UnitZ => new(0, 0, 1);
/// <summary>
/// Creates a new <see cref="Float3"/> 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 Float3(float x, float y, float z)
{
this.x = x;
this.y = y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Float3"/> 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 Float3(Float2 xy, float z)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Float3"/> 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 Float3(float x, Float2 yz)
{
this.x = x;
this.y = yz.X;
this.z = yz.Y;
}
/// <summary>
/// Creates a new <see cref="Float3"/> 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="Float3"/> instance.</param>
public static implicit operator Float3(float x) => new(x, x, x);
/// <summary>
/// Casts a <see cref="Float3"/> value to a <see cref="Vector3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Float3"/> value to cast.</param>
public static unsafe implicit operator Vector3(Float3 xyz) => *(Vector3*)&xyz;
/// <summary>
/// Casts a <see cref="Vector3"/> value to a <see cref="Float3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Vector3"/> value to cast.</param>
public static unsafe implicit operator Float3(Vector3 xyz) => *(Float3*)&xyz;
/// <summary>
/// Casts a <see cref="Float3"/> value to a <see cref="Double3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Float3"/> value to cast.</param>
public static implicit operator Double3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(Double3)})");
/// <summary>
/// Casts a <see cref="Float3"/> value to a <see cref="Int3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Float3"/> value to cast.</param>
public static explicit operator Int3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(Int3)})");
/// <summary>
/// Casts a <see cref="Float3"/> value to a <see cref="UInt3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Float3"/> value to cast.</param>
public static explicit operator UInt3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(UInt3)})");
}
}
-899
ファイルの表示
@@ -1,899 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Float3"/>
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct Float3
{
[FieldOffset(0)]
private float x;
[FieldOffset(4)]
private float y;
[FieldOffset(8)]
private float z;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Float3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref float this[int i] => throw new InvalidExecutionContextException($"{nameof(Float3)}[int]");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>X</c> component.
/// </summary>
public ref float X => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Y</c> component.
/// </summary>
public ref float Y => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>Z</c> component.
/// </summary>
public ref float Z => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>W</c> component.
/// </summary>
public ref float W => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Float2 XW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float2 YX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Float2 YW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Float2 ZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Float2 WX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Float2 WY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Float2 WZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 XXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 XXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 XYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 XYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Float3 XYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 XZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Float3 XZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 XWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 XWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 XWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 XWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 YXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 YXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Float3 YXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 YYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 YYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float3 YZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Float3 YZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Float3 YWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 YWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 YWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 YWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 ZXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 ZXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Float3 ZXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float3 ZYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 ZYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Float3 ZYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 ZZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 ZZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 ZZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Float3 ZWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 ZWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 ZWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 WXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 WXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 WXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 WXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Float3 WYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 WYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYY)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Float3 WYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 WYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYW)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Float3 WZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZX)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Float3 WZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 WZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 WZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Float3 WWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Float3 WWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Float3 WWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Float3 WWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWW)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>R</c> component.
/// </summary>
public ref float R => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>G</c> component.
/// </summary>
public ref float G => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>B</c> component.
/// </summary>
public ref float B => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="float"/> value representing the <c>A</c> component.
/// </summary>
public ref float A => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Float2 RA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Float2 GA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Float2 BA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Float2 AR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Float2 AG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Float2 AB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 RRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float3 RGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Float3 RGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float3 RBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Float3 RBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 RAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Float3 RAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Float3 RAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 RAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float3 GRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Float3 GRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 GGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float3 GBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Float3 GBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Float3 GAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 GAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Float3 GAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 GAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float3 BRG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Float3 BRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float3 BGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGB)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Float3 BGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 BBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Float3 BAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Float3 BAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 BAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 BAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 ARR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Float3 ARG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Float3 ARB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 ARA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Float3 AGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 AGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGG)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Float3 AGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 AGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGA)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Float3 ABR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABR)}");
/// <summary>
/// Gets a reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Float3 ABG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 ABB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 ABA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Float3 AAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Float3 AAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Float3 AAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Float3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Float3 AAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAA)}");
/// <summary>
/// Negates a <see cref="Float3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Float3"/> value to negate.</param>
public static Float3 operator -(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.-");
/// <summary>
/// Sums two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to sum.</param>
/// <param name="right">The second <see cref="Float3"/> value to sum.</param>
public static Float3 operator +(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.+");
/// <summary>
/// Divides two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to divide.</param>
/// <param name="right">The second <see cref="Float3"/> value to divide.</param>
public static Float3 operator /(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}./");
/// <summary>
/// Multiplies two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Float3"/> value to multiply.</param>
public static Float3 operator *(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.*");
/// <summary>
/// Subtracts two <see cref="Float3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Float3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Float3"/> value to subtract.</param>
public static Float3 operator -(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{nameof(Float3)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Float3", sizeof(float));
#>
-161
ファイルの表示
@@ -1,161 +0,0 @@
using System.Diagnostics;
using System.Numerics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="float4"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z}, {W})")]
public partial struct Float4
{
/// <summary>
/// Gets an <see cref="Float4"/> value with all components set to 0.
/// </summary>
public static Float4 Zero => 0;
/// <summary>
/// Gets an <see cref="Float4"/> value with all components set to 1.
/// </summary>
public static Float4 One => 1;
/// <summary>
/// Gets an <see cref="Float4"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Float4 UnitX => new(1, 0, 0, 0);
/// <summary>
/// Gets an <see cref="Float4"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Float4 UnitY => new(0, 1, 0, 0);
/// <summary>
/// Gets an <see cref="Float4"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Float4 UnitZ => new(0, 0, 1, 0);
/// <summary>
/// Gets an <see cref="Float4"/> value with the <see cref="W"/> component set to 1, and the others to 0.
/// </summary>
public static Float4 UnitW => new(0, 0, 0, 1);
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(float x, float y, float z, float w)
{
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(Float2 xy, float z, float w)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(float x, float y, Float2 zw)
{
this.x = x;
this.y = y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(Float2 xy, Float2 zw)
{
this.x = xy.X;
this.y = xy.Y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(Float3 xyz, float w)
{
this.x = xyz.X;
this.y = xyz.Y;
this.z = xyz.Z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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 Float4(float x, Float3 yzw)
{
this.x = x;
this.y = yzw.X;
this.z = yzw.Y;
this.w = yzw.Z;
}
/// <summary>
/// Creates a new <see cref="Float4"/> 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="Float4"/> instance.</param>
public static implicit operator Float4(float x) => new(x, x, x, x);
/// <summary>
/// Casts a <see cref="Float4"/> value to a <see cref="Vector4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Float4"/> value to cast.</param>
public static unsafe implicit operator Vector4(Float4 xyzw) => *(Vector4*)&xyzw;
/// <summary>
/// Casts a <see cref="Vector4"/> value to a <see cref="Float4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Vector4"/> value to cast.</param>
public static unsafe implicit operator Float4(Vector4 xyzw) => *(Float4*)&xyzw;
/// <summary>
/// Casts a <see cref="Float4"/> value to a <see cref="Double4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Float4"/> value to cast.</param>
public static implicit operator Double4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(Double4)})");
/// <summary>
/// Casts a <see cref="Float4"/> value to a <see cref="Int4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Float4"/> value to cast.</param>
public static explicit operator Int4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(Int4)})");
/// <summary>
/// Casts a <see cref="Float4"/> value to a <see cref="UInt4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Float4"/> value to cast.</param>
public static explicit operator UInt4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(UInt4)})");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Float4", sizeof(float));
#>
-67
ファイルの表示
@@ -1,67 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="int2"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y})")]
public partial struct Int2
{
/// <summary>
/// Gets an <see cref="Int2"/> value with all components set to 0.
/// </summary>
public static Int2 Zero => 0;
/// <summary>
/// Gets an <see cref="Int2"/> value with all components set to 1.
/// </summary>
public static Int2 One => 1;
/// <summary>
/// Gets an <see cref="Int2"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Int2 UnitX => new(1, 0);
/// <summary>
/// Gets an <see cref="Int2"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Int2 UnitY => new(0, 1);
/// <summary>
/// Creates a new <see cref="Int2"/> 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 Int2(int x, int y)
{
this.x = x;
this.y = y;
}
/// <summary>
/// Creates a new <see cref="Int2"/> 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="Int2"/> instance.</param>
public static implicit operator Int2(int x) => new(x, x);
/// <summary>
/// Casts a <see cref="Int2"/> value to a <see cref="UInt2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Int2"/> value to cast.</param>
public static explicit operator UInt2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(UInt2)})");
/// <summary>
/// Casts a <see cref="Int2"/> value to a <see cref="Float2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Int2"/> value to cast.</param>
public static implicit operator Float2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(Float2)})");
/// <summary>
/// Casts a <see cref="Int2"/> value to a <see cref="Double2"/> one.
/// </summary>
/// <param name="xy">The input <see cref="Int2"/> value to cast.</param>
public static implicit operator Double2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(Double2)})");
}
}
-256
ファイルの表示
@@ -1,256 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Int2"/>
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct Int2
{
[FieldOffset(0)]
private int x;
[FieldOffset(4)]
private int y;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Int2"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref int this[int i] => throw new InvalidExecutionContextException($"{nameof(Int2)}[int]");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
/// </summary>
public ref int X => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Y</c> component.
/// </summary>
public ref int Y => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Z</c> component.
/// </summary>
public ref int Z => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>W</c> component.
/// </summary>
public ref int W => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Int2 XW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int2 YX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Int2 YW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Int2 ZW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Int2 WX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 WY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 WZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WW)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>R</c> component.
/// </summary>
public ref int R => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>G</c> component.
/// </summary>
public ref int G => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>B</c> component.
/// </summary>
public ref int B => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>A</c> component.
/// </summary>
public ref int A => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Int2 RA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Int2 GA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Int2 BA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Int2 AR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Int2 AG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Int2 AB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AA)}");
/// <summary>
/// Negates a <see cref="Int2"/> value.
/// </summary>
/// <param name="xy">The <see cref="Int2"/> value to negate.</param>
public static Int2 operator -(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.-");
/// <summary>
/// Sums two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to sum.</param>
/// <param name="right">The second <see cref="Int2"/> value to sum.</param>
public static Int2 operator +(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.+");
/// <summary>
/// Divides two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to divide.</param>
/// <param name="right">The second <see cref="Int2"/> value to divide.</param>
public static Int2 operator /(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}./");
/// <summary>
/// Multiplies two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to multiply.</param>
/// <param name="right">The second <see cref="Int2"/> value to multiply.</param>
public static Int2 operator *(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.*");
/// <summary>
/// Subtracts two <see cref="Int2"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int2"/> value to subtract.</param>
/// <param name="right">The second <see cref="Int2"/> value to subtract.</param>
public static Int2 operator -(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{nameof(Int2)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Int2", sizeof(int));
#>
-98
ファイルの表示
@@ -1,98 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="int3"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z})")]
public partial struct Int3
{
/// <summary>
/// Gets an <see cref="Int3"/> value with all components set to 0.
/// </summary>
public static Int3 Zero => 0;
/// <summary>
/// Gets an <see cref="Int3"/> value with all components set to 1.
/// </summary>
public static Int3 One => 1;
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitX => new(1, 0, 0);
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitY => new(0, 1, 0);
/// <summary>
/// Gets an <see cref="Int3"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Int3 UnitZ => new(0, 0, 1);
/// <summary>
/// Creates a new <see cref="Int3"/> 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 Int3(int x, int y, int z)
{
this.x = x;
this.y = y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Int3"/> 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 Int3(Int2 xy, int z)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
}
/// <summary>
/// Creates a new <see cref="Int3"/> 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 Int3(int x, Int2 yz)
{
this.x = x;
this.y = yz.X;
this.z = yz.Y;
}
/// <summary>
/// Creates a new <see cref="Int3"/> 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="Int3"/> instance.</param>
public static implicit operator Int3(int x) => new(x, x, x);
/// <summary>
/// Casts a <see cref="Int3"/> value to a <see cref="UInt3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Int3"/> value to cast.</param>
public static explicit operator UInt3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(UInt3)})");
/// <summary>
/// Casts a <see cref="Int3"/> value to a <see cref="Float3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Int3"/> value to cast.</param>
public static implicit operator Float3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(Float3)})");
/// <summary>
/// Casts a <see cref="Int3"/> value to a <see cref="Double3"/> one.
/// </summary>
/// <param name="xyz">The input <see cref="Int3"/> value to cast.</param>
public static implicit operator Double3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(Double3)})");
}
}
-899
ファイルの表示
@@ -1,899 +0,0 @@
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="Int3"/>
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct Int3
{
[FieldOffset(0)]
private int x;
[FieldOffset(4)]
private int y;
[FieldOffset(8)]
private int z;
/// <summary>
/// Gets a reference to a specific component in the current <see cref="Int3"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref int this[int i] => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>X</c> component.
/// </summary>
public ref int X => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(X)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Y</c> component.
/// </summary>
public ref int Y => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(Y)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>Z</c> component.
/// </summary>
public ref int Z => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(Z)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>W</c> component.
/// </summary>
public ref int W => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(W)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Int2 XW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int2 YX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Int2 YW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Int2 ZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZW)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Int2 WX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WX)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Int2 WY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WY)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Int2 WZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 XXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Int3 XYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 XZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Int3 XZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 XWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 XWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 XWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="X"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 XWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Int3 YXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 YYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int3 YZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref Int3 YZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Int3 YWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 YWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 YWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Y"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 YWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 ZXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref Int3 ZXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int3 ZYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref Int3 ZYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 ZZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref Int3 ZWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 ZWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="Z"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 ZWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 WXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 WXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 WXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="X"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 WXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="X"/>.
/// </summary>
public ref Int3 WYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 WYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYY)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="Z"/>.
/// </summary>
public ref Int3 WYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Y"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 WYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYW)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="X"/>.
/// </summary>
public ref Int3 WZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZX)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Y"/>.
/// </summary>
public ref Int3 WZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 WZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="Z"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 WZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZW)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="X"/>.
/// </summary>
public ref readonly Int3 WWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWX)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Y"/>.
/// </summary>
public ref readonly Int3 WWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWY)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="Z"/>.
/// </summary>
public ref readonly Int3 WWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWZ)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="W"/>, <see cref="W"/>, <see cref="W"/>.
/// </summary>
public ref readonly Int3 WWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWW)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>R</c> component.
/// </summary>
public ref int R => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>G</c> component.
/// </summary>
public ref int G => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>B</c> component.
/// </summary>
public ref int B => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}");
/// <summary>
/// Gets a reference to the <see cref="int"/> value representing the <c>A</c> component.
/// </summary>
public ref int A => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(A)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Int2 RA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Int2 GA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BB)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Int2 BA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BA)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Int2 AR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AR)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Int2 AG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AG)}");
/// <summary>
/// Gets a reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Int2 AB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int2"/> value with the components <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 RRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Int3 RGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int3 RBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Int3 RBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 RAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Int3 RAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Int3 RAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="R"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 RAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Int3 GRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 GGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int3 GBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref Int3 GBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Int3 GAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 GAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref Int3 GAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="G"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 GAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int3 BRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref Int3 BRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int3 BGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref Int3 BGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 BBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref Int3 BAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref Int3 BAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 BAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="B"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 BAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 ARR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="G"/>.
/// </summary>
public ref Int3 ARG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="B"/>.
/// </summary>
public ref Int3 ARB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="R"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 ARA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="R"/>.
/// </summary>
public ref Int3 AGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 AGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGG)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="B"/>.
/// </summary>
public ref Int3 AGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="G"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 AGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGA)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="R"/>.
/// </summary>
public ref Int3 ABR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABR)}");
/// <summary>
/// Gets a reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="G"/>.
/// </summary>
public ref Int3 ABG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 ABB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="B"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 ABA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABA)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="R"/>.
/// </summary>
public ref readonly Int3 AAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAR)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="G"/>.
/// </summary>
public ref readonly Int3 AAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAG)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="B"/>.
/// </summary>
public ref readonly Int3 AAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAB)}");
/// <summary>
/// Gets a readonly reference to the <see cref="Int3"/> value with the components <see cref="A"/>, <see cref="A"/>, <see cref="A"/>.
/// </summary>
public ref readonly Int3 AAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAA)}");
/// <summary>
/// Negates a <see cref="Int3"/> value.
/// </summary>
/// <param name="xyz">The <see cref="Int3"/> value to negate.</param>
public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
/// <summary>
/// Sums two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to sum.</param>
/// <param name="right">The second <see cref="Int3"/> value to sum.</param>
public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.+");
/// <summary>
/// Divides two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to divide.</param>
/// <param name="right">The second <see cref="Int3"/> value to divide.</param>
public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}./");
/// <summary>
/// Multiplies two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to multiply.</param>
/// <param name="right">The second <see cref="Int3"/> value to multiply.</param>
public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.*");
/// <summary>
/// Subtracts two <see cref="Int3"/> values.
/// </summary>
/// <param name="left">The first <see cref="Int3"/> value to subtract.</param>
/// <param name="right">The second <see cref="Int3"/> value to subtract.</param>
public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Int3", sizeof(int));
#>
-148
ファイルの表示
@@ -1,148 +0,0 @@
using System.Diagnostics;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <summary>
/// A <see langword="struct"/> that maps the <see langword="int4"/> HLSL type.
/// </summary>
[DebuggerDisplay("({X}, {Y}, {Z}, {W})")]
public partial struct Int4
{
/// <summary>
/// Gets an <see cref="Int4"/> value with all components set to 0.
/// </summary>
public static Int4 Zero => 0;
/// <summary>
/// Gets an <see cref="Int4"/> value with all components set to 1.
/// </summary>
public static Int4 One => 1;
/// <summary>
/// Gets an <see cref="Int4"/> value with the <see cref="X"/> component set to 1, and the others to 0.
/// </summary>
public static Int4 UnitX => new(1, 0, 0, 0);
/// <summary>
/// Gets an <see cref="Int4"/> value with the <see cref="Y"/> component set to 1, and the others to 0.
/// </summary>
public static Int4 UnitY => new(0, 1, 0, 0);
/// <summary>
/// Gets an <see cref="Int4"/> value with the <see cref="Z"/> component set to 1, and the others to 0.
/// </summary>
public static Int4 UnitZ => new(0, 0, 1, 0);
/// <summary>
/// Gets an <see cref="Int4"/> value with the <see cref="W"/> component set to 1, and the others to 0.
/// </summary>
public static Int4 UnitW => new(0, 0, 0, 1);
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(int x, int y, int z, int w)
{
this.x = x;
this.y = y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(Int2 xy, int z, int w)
{
this.x = xy.X;
this.y = xy.Y;
this.z = z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(int x, int y, Int2 zw)
{
this.x = x;
this.y = y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(Int2 xy, Int2 zw)
{
this.x = xy.X;
this.y = xy.Y;
this.z = zw.X;
this.w = zw.Y;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(Int3 xyz, int w)
{
this.x = xyz.X;
this.y = xyz.Y;
this.z = xyz.Z;
this.w = w;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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 Int4(int x, Int3 yzw)
{
this.x = x;
this.y = yzw.X;
this.z = yzw.Y;
this.w = yzw.Z;
}
/// <summary>
/// Creates a new <see cref="Int4"/> 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="Int4"/> instance.</param>
public static implicit operator Int4(int x) => new(x, x, x, x);
/// <summary>
/// Casts a <see cref="Int4"/> value to a <see cref="UInt4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
public static explicit operator UInt4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(UInt4)})");
/// <summary>
/// Casts a <see cref="Int4"/> value to a <see cref="Float4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
public static implicit operator Float4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Float4)})");
/// <summary>
/// Casts a <see cref="Int4"/> value to a <see cref="Double4"/> one.
/// </summary>
/// <param name="xyzw">The input <see cref="Int4"/> value to cast.</param>
public static implicit operator Double4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Double4)})");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("Int4", sizeof(int));
#>
-67
ファイルの表示
@@ -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)})");
}
}
-250
ファイルの表示
@@ -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)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("UInt2", sizeof(uint));
#>
-98
ファイルの表示
@@ -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)})");
}
}
-893
ファイルの表示
@@ -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)}.-");
}
}
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("UInt3", sizeof(uint));
#>
-148
ファイルの表示
@@ -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)})");
}
}
ファイル差分が大きすぎるため表示されません。 差分を読み込み
-4
ファイルの表示
@@ -1,4 +0,0 @@
<#@include file="..\VectorType.ttinclude" #>
<#
GenerateVectorProperties("UInt4", sizeof(uint));
#>
-194
ファイルの表示
@@ -1,194 +0,0 @@
<#@ template debug="false" hostspecific="false" language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Text.RegularExpressions" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ output extension=".g.cs"#>
<#
IEnumerable<string> EnumeratePropertyNames(string source)
{
// Creates a comparison for a string based on indices of each character in a key
static int CompareBy(string text, string key)
{
return text.Select(c => key.IndexOf(c)).Aggregate(0, (r, i) => (r << 4) + i);
}
// Returns all combinations from an input string
static IEnumerable<string> Combinations(string text)
{
if (text.Length > 1)
{
for (int i = text.Length - 1; i >= 0; i--)
{
var characters = text.ToList();
characters.RemoveAt(i);
string substring = string.Join("", characters);
foreach (var combination in Combinations(substring))
{
yield return combination;
}
}
}
yield return text;
}
// Returns all permutations (with repetition) of a given string
static IEnumerable<string> Permutations(string text)
{
static IEnumerable<string> EnumeratePermutations(string text, int length)
{
if (length == 1) return text.Select(c => c.ToString());
return EnumeratePermutations(text, length - 1).SelectMany(s => text, (s1, s2) => s1 + s2);
}
return EnumeratePermutations(text, text.Length);
}
return
Combinations(source)
.Distinct()
.SelectMany(Permutations)
.OrderBy(s => s.Length)
.ThenBy(s => CompareBy(s, source))
.Distinct();
}
// Generates all vector access properties for a specified type
void GenerateVectorProperties(string typeName, int elementSize)
{
string elementTypeName = Regex.Match(typeName, @"^[A-Za-z]+").Value;
string hlslElementTypeName = elementTypeName.ToLower();
int i = int.Parse(Regex.Match(typeName, @"\d+$").Value);
#>
using System.Runtime.InteropServices;
using ComputeSharp.Exceptions;
namespace ComputeSharp
{
/// <inheritdoc cref="<#=typeName#>"/>
[StructLayout(LayoutKind.Explicit, Size = <#=(elementSize * i)#>)]
public partial struct <#=typeName#>
{
<#
PushIndent(" ");
PushIndent(" ");
// Generate the private fields
foreach (char name in "xyzw".Substring(0, i))
{
WriteLine($"[FieldOffset({"xyzw".IndexOf(name) * elementSize})]");
WriteLine($"private {hlslElementTypeName} {name};");
WriteLine("");
}
PopIndent();
PopIndent();
#>
/// <summary>
/// Gets a reference to a specific component in the current <see cref="<#=typeName#>"/> instance.
/// </summary>
/// <param name="i">The index of the component to access.</param>
public ref <#=hlslElementTypeName#> this[int i] => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}[int]");
<#
PushIndent(" ");
PushIndent(" ");
// Generate the combinatorial swizzling properties
foreach (
var propertyName in
from source in new[] { "XYZW", "RGBA" }
from name in EnumeratePropertyNames(source)
where name.Length <= i
select name)
{
WriteLine("");
string propertyType = propertyName.Length == 1 ? hlslElementTypeName : $"{elementTypeName}{propertyName.Length}";
bool isReadonly = propertyName.Distinct().Count() < propertyName.Length;
string refType = isReadonly ? "ref readonly" : "ref";
// XML docs
WriteLine("/// <summary>");
if (propertyName.Length == 1)
{
WriteLine($"/// Gets a reference to the <see cref=\"{propertyType}\"/> value representing the <c>{propertyName}</c> component.");
}
else
{
Write("/// Gets a ");
if (isReadonly) Write("readonly ");
Write($"reference to the <see cref=\"{propertyType}\"/> value with the components ");
Write(string.Join(", ", propertyName.Select(c => $"<see cref=\"{c}\"/>")));
WriteLine(".");
}
WriteLine("/// </summary>");
// Property
Write($"public {refType} {propertyType} {propertyName} ");
WriteLine($"=> throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({propertyName})}}\");");
}
PopIndent();
PopIndent();
// Generate the negation operator
if (elementTypeName != "Bool" && elementTypeName != "UInt")
{
WriteLine("");
string argumentName = "xyzw".Substring(0, i);
#>
/// <summary>
/// Negates a <see cref="<#=typeName#>"/> value.
/// </summary>
/// <param name="<#=argumentName#>">The <see cref="<#=typeName#>"/> value to negate.</param>
public static <#=typeName#> operator -(<#=typeName#> <#=argumentName#>) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.-");
<#
}
// Generate the numerical operators
if (elementTypeName != "Bool")
{
WriteLine("");
#>
/// <summary>
/// Sums two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to sum.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to sum.</param>
public static <#=typeName#> operator +(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.+");
/// <summary>
/// Divides two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to divide.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to divide.</param>
public static <#=typeName#> operator /(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}./");
/// <summary>
/// Multiplies two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to multiply.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to multiply.</param>
public static <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.*");
/// <summary>
/// Subtracts two <see cref="<#=typeName#>"/> values.
/// </summary>
/// <param name="left">The first <see cref="<#=typeName#>"/> value to subtract.</param>
/// <param name="right">The second <see cref="<#=typeName#>"/> value to subtract.</param>
public static <#=typeName#> operator -(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{nameof(<#=typeName#>)}.-");
<#
}
#>
}
}
<#
}
#>