diff --git a/src/ComputeSharp/Core/Primitives/Bool/Bool2.g.cs b/src/ComputeSharp/Core/Primitives/Bool/Bool2.g.cs index 238566f3..0ba2052f 100644 --- a/src/ComputeSharp/Core/Primitives/Bool/Bool2.g.cs +++ b/src/ComputeSharp/Core/Primitives/Bool/Bool2.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public partial struct Bool2 + public unsafe partial struct Bool2 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Bool2), sizeof(Bool2)); + [FieldOffset(0)] private bool x; @@ -17,66 +22,75 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref bool this[int i] => throw new InvalidExecutionContextException($"{typeof(Bool2)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref bool this[int i] => ref *(bool*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref bool X => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(X)}"); + public ref bool X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref bool Y => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(Y)}"); + public ref bool Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 XX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XY => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YX => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YX => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 YY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref bool R => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(R)}"); + public ref bool R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref bool G => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(G)}"); + public ref bool G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 RR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RG => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GR => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GR => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{typeof(Bool2)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 GG => ref *(Bool2*)UndefinedData; } } diff --git a/src/ComputeSharp/Core/Primitives/Bool/Bool3.g.cs b/src/ComputeSharp/Core/Primitives/Bool/Bool3.g.cs index 84ce6598..776b3ca6 100644 --- a/src/ComputeSharp/Core/Primitives/Bool/Bool3.g.cs +++ b/src/ComputeSharp/Core/Primitives/Bool/Bool3.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public partial struct Bool3 + public unsafe partial struct Bool3 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Bool3), sizeof(Bool3)); + [FieldOffset(0)] private bool x; @@ -20,396 +25,469 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref bool this[int i] => throw new InvalidExecutionContextException($"{typeof(Bool3)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref bool this[int i] => ref *(bool*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref bool X => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(X)}"); + public ref bool X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref bool Y => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(Y)}"); + public ref bool Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref bool Z => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(Z)}"); + public ref bool Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 XX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XZ => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YX => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 YY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YZ => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 ZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 ZX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 ZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 ZY => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 ZZ => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XYY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XYZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XZX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XZZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YXX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YXY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YXZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YZX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YZZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZXX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZXX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZXY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZXY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZXZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZYX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZYY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZYY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZYZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZX => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZY => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref bool R => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(R)}"); + public ref bool R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref bool G => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(G)}"); + public ref bool G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref bool B => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(B)}"); + public ref bool B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 RR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RB => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GR => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 GG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GB => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 BR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 BR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 BG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 BG => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 BB => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RGG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RGB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RBR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RBB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GRR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GRG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GRB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GBR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GBB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BRR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BRG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BRG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BRB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BGR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BGG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BGB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{typeof(Bool3)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBB => ref *(Bool3*)UndefinedData; } } diff --git a/src/ComputeSharp/Core/Primitives/Bool/Bool4.g.cs b/src/ComputeSharp/Core/Primitives/Bool/Bool4.g.cs index 096c0f97..e42aacf9 100644 --- a/src/ComputeSharp/Core/Primitives/Bool/Bool4.g.cs +++ b/src/ComputeSharp/Core/Primitives/Bool/Bool4.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] - public partial struct Bool4 + public unsafe partial struct Bool4 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Bool4), sizeof(Bool4)); + [FieldOffset(0)] private bool x; @@ -23,3406 +28,4079 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref bool this[int i] => throw new InvalidExecutionContextException($"{typeof(Bool4)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref bool this[int i] => ref *(bool*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref bool X => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(X)}"); + public ref bool X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref bool Y => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(Y)}"); + public ref bool Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref bool Z => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(Z)}"); + public ref bool Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the W component. /// - public ref bool W => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(W)}"); + public ref bool W => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 XX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 XX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XZ => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 XW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 XW => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YX => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 YY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YZ => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 YW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 YW => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 ZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 ZX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 ZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 ZY => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 ZZ => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 ZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 ZW => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 WX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 WX => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 WY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 WY => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 WZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 WZ => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 WW => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XXW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XYY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XYZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XYW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XZX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XZZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XZW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XWX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XWY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 XWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 XWZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 XWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 XWW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YXX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YXY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YXZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YXW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YYW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YZX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YZZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YZW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YWX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YWY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 YWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 YWZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 YWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 YWW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZXX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZXY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZXZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZXW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZYY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZYZ => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZYW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZZW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZWX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ZWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ZWY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZWZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ZWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ZWW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WXX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WXY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WXZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WXW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WYX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WYY => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WYZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WYW => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WZX => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 WZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 WZY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WZZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WZW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WWX => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WWY => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WWZ => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 WWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 WWW => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XXWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XXWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYZZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XYZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XYZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYWY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XYWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XYWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XYWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XYWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZYZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XZYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XZYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZWX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XZWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XZWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XZWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XZWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWYY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XWYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XWYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWZX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 XWZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 XWZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 XWWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(XWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 XWWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXZZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YXZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YXZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXWY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YXWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YXWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YXWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YXWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YYWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YYWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZXZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YZXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YZXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZZW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YZWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YZWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YZWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YZWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWXY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YWXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YWXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWYW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 YWZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 YWZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 YWWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(YWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 YWWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXYZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZXYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZXYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXWX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZXWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZXWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZXWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZXWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYXZ => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZYXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZYXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYZW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZYWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZYWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZYWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZYWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZZWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZZWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWXX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZWXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZWXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWXW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ZWYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ZWYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ZWWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ZWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ZWWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXYY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WXYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WXYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXZX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WXZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WXZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WXWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WXWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYXY => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WYXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WYXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYYW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WYZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WYZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WYWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WYWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZXX => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WZXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WZXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZXW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 WZYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 WZYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WZWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WZWW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWXX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWXX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWXY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWXY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWXZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWXZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWXW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWXW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWYX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWYX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWYY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWYY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWYZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWYZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWYW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWYW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWZX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWZX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWZY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWZY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWZZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWZZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWZW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWZW => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWWX => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWWX => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWWY => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWWY => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWWZ => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWWZ => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 WWWW => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(WWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 WWWW => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref bool R => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(R)}"); + public ref bool R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref bool G => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(G)}"); + public ref bool G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref bool B => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(B)}"); + public ref bool B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the A component. /// - public ref bool A => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(A)}"); + public ref bool A => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 RR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RB => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 RA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 RA => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GR => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 GG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GB => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 GA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 GA => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 BR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 BR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 BG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 BG => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 BB => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 BA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 BA => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 AR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 AR => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 AG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 AG => ref *(Bool2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Bool2 AB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool2 AB => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool2 AA => ref *(Bool2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RRA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RGG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RGB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RGA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RBR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RBB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RBA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RAR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RAG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 RAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 RAB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 RAA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GRR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GRG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GRB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GRA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GGA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GBR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GBB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GBA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GAR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GAG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 GAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 GAB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 GAA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BRR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BRG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BRB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BRA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BGG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BGB => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BGA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BBA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BAR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 BAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 BAG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BAB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 BAA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ARR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ARR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ARG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ARG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ARB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ARB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ARA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ARA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 AGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 AGR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AGG => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 AGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 AGB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AGA => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ABR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ABR => ref *(Bool3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Bool3 ABG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool3 ABG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ABB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ABB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 ABA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 ABA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AAR => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AAG => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AAB => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 AAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool3 AAA => ref *(Bool3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RRAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RRAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGBB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RGBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RGBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGAG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RGAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RGAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RGAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RGAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBGB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RBGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RBGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBAR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RBAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RBAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RBAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RBAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RARR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RARR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RARG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RARG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RARB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RARB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RARA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RARA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAGG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RAGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RAGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RABR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RABR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 RABG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 RABG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RABB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RABB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RABA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RABA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 RAAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(RAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 RAAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRBB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GRBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GRBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRAG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GRAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GRAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GRAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GRAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GGAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GGAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBRB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GBRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GBRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBBA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GBAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GBAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GBAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GBAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GARR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GARR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GARG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GARG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GARB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GARB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GARA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GARA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAGA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 GABR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 GABR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GABG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GABG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GABB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GABB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GABA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GABA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 GAAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(GAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 GAAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRGB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BRGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BRGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRAR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BRAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BRAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BRAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BRAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGRB => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BGRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BGRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGBA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BGAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BGAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BGAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BGAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BBAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BBAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BARR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BARR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BARG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BARG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BARB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BARB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BARA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BARA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 BAGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 BAGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BABR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BABR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BABG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BABG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BABB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BABB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BABA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BABA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 BAAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(BAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 BAAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARGG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ARGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ARGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARBR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ARBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ARBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ARAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ARAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ARAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGRR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGRG => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 AGRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 AGRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGRA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGGA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 AGBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 AGBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AGAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AGAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABRR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABRR => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ABRG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ABRG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABRB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABRB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABRA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABRA => ref *(Bool4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Bool4 ABGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Bool4 ABGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABBR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABBR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABBG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABBG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABBB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABBB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABBA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABBA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 ABAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(ABAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 ABAA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AARR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AARR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AARG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AARG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AARB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AARB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AARA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AARA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAGR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAGR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAGG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAGG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAGB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAGB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAGA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAGA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AABR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AABR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AABG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AABG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AABB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AABB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AABA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AABA => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAAR => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAAR => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAAG => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAAG => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAAB => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAAB => ref *(Bool4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Bool4 AAAA => throw new InvalidExecutionContextException($"{typeof(Bool4)}.{nameof(AAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Bool4 AAAA => ref *(Bool4*)UndefinedData; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double2.cs b/src/ComputeSharp/Core/Primitives/Double/Double2.cs index b28fa948..1f80b209 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double2.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double2.cs @@ -50,18 +50,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(Int2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int2(Double2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(UInt2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt2(Double2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Float2(Double2 xy) => throw new InvalidExecutionContextException($"{nameof(Double2)}.({nameof(Float2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Float2(Double2 xy) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double2.g.cs b/src/ComputeSharp/Core/Primitives/Double/Double2.g.cs index 4d3f1728..c08acedc 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double2.g.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double2.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 8)] - public partial struct Double2 + public unsafe partial struct Double2 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Double2), sizeof(Double2)); + [FieldOffset(0)] private double x; @@ -17,100 +22,114 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref double this[int i] => throw new InvalidExecutionContextException($"{typeof(Double2)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref double this[int i] => ref *(double*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref double X => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(X)}"); + public ref double X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref double Y => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(Y)}"); + public ref double Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 XX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XY => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YX => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YX => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 YY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref double R => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(R)}"); + public ref double R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref double G => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(G)}"); + public ref double G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 RR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RG => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GR => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GR => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{typeof(Double2)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 GG => ref *(Double2*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Double2 operator -(Double2 xy) => throw new InvalidExecutionContextException($"{typeof(Double2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double2 operator -(Double2 xy) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Double2 operator +(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double2 operator +(Double2 left, Double2 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Double2 operator /(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double2 operator /(Double2 left, Double2 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Double2 operator *(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double2 operator *(Double2 left, Double2 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Double2 operator -(Double2 left, Double2 right) => throw new InvalidExecutionContextException($"{typeof(Double2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double2 operator -(Double2 left, Double2 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double3.cs b/src/ComputeSharp/Core/Primitives/Double/Double3.cs index 22ac229f..646e2d47 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double3.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double3.cs @@ -81,18 +81,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(Int3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int3(Double3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(UInt3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt3(Double3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Float3(Double3 xyz) => throw new InvalidExecutionContextException($"{nameof(Double3)}.({nameof(Float3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Float3(Double3 xyz) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double3.g.cs b/src/ComputeSharp/Core/Primitives/Double/Double3.g.cs index 594e0ae4..17c78f99 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double3.g.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double3.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 24, Pack = 8)] - public partial struct Double3 + public unsafe partial struct Double3 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Double3), sizeof(Double3)); + [FieldOffset(0)] private double x; @@ -20,430 +25,508 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref double this[int i] => throw new InvalidExecutionContextException($"{typeof(Double3)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref double this[int i] => ref *(double*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref double X => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(X)}"); + public ref double X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref double Y => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(Y)}"); + public ref double Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref double Z => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(Z)}"); + public ref double Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 XX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XZ => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YX => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 YY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YZ => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 ZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 ZX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 ZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 ZY => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 ZZ => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XYY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XYZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XZX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XZZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YXX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YXY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YXZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YZX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YZZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZXX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZXX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZXY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZXY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZXZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZYX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZYY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZYY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZYZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZX => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZY => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref double R => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(R)}"); + public ref double R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref double G => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(G)}"); + public ref double G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref double B => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(B)}"); + public ref double B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 RR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RB => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GR => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 GG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GB => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 BR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 BR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 BG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 BG => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 BB => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RGG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RGB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RBR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RBB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GRR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GRG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GRB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GBR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GBB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BRR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BRG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BRG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BRB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BGR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BGG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BGB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{typeof(Double3)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBB => ref *(Double3*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Double3 operator -(Double3 xyz) => throw new InvalidExecutionContextException($"{typeof(Double3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double3 operator -(Double3 xyz) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Double3 operator +(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double3 operator +(Double3 left, Double3 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Double3 operator /(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double3 operator /(Double3 left, Double3 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Double3 operator *(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double3 operator *(Double3 left, Double3 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Double3 operator -(Double3 left, Double3 right) => throw new InvalidExecutionContextException($"{typeof(Double3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double3 operator -(Double3 left, Double3 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double4.cs b/src/ComputeSharp/Core/Primitives/Double/Double4.cs index 76fc888c..b80bb514 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double4.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double4.cs @@ -131,18 +131,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(Int4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int4(Double4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(UInt4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt4(Double4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Float4(Double4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Double4)}.({nameof(Float4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Float4(Double4 xyzw) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Double/Double4.g.cs b/src/ComputeSharp/Core/Primitives/Double/Double4.g.cs index a147c510..5360ca0e 100644 --- a/src/ComputeSharp/Core/Primitives/Double/Double4.g.cs +++ b/src/ComputeSharp/Core/Primitives/Double/Double4.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 32, Pack = 8)] - public partial struct Double4 + public unsafe partial struct Double4 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Double4), sizeof(Double4)); + [FieldOffset(0)] private double x; @@ -23,3440 +28,4118 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref double this[int i] => throw new InvalidExecutionContextException($"{typeof(Double4)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref double this[int i] => ref *(double*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref double X => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(X)}"); + public ref double X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref double Y => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(Y)}"); + public ref double Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref double Z => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(Z)}"); + public ref double Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the W component. /// - public ref double W => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(W)}"); + public ref double W => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 XX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 XX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XZ => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 XW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 XW => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YX => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 YY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YZ => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 YW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 YW => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 ZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 ZX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 ZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 ZY => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 ZZ => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 ZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 ZW => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 WX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 WX => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 WY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 WY => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 WZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 WZ => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 WW => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XXW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XYY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XYZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XYW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XZX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XZZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XZW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XWX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XWY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 XWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 XWZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 XWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 XWW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YXX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YXY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YXZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YXW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YYW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YZX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YZZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YZW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YWX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YWY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 YWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 YWZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 YWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 YWW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZXX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZXY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZXZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZXW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZYY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZYZ => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZYW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZZW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZWX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ZWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ZWY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZWZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ZWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ZWW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WXX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WXY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WXZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WXW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WYX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WYY => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WYZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WYW => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WZX => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 WZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 WZY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WZZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WZW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WWX => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WWY => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WWZ => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 WWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 WWW => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XXWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XXWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYZZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XYZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XYZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYWY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XYWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XYWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XYWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XYWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZYZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XZYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XZYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZWX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XZWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XZWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XZWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XZWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWYY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XWYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XWYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWZX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 XWZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 XWZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 XWWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(XWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 XWWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXZZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YXZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YXZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXWY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YXWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YXWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YXWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YXWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YYWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YYWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZXZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YZXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YZXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZZW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YZWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YZWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YZWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YZWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWXY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YWXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YWXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWYW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 YWZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 YWZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 YWWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(YWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 YWWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXYZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZXYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZXYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXWX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZXWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZXWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZXWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZXWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYXZ => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZYXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZYXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYZW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZYWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZYWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZYWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZYWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZZWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZZWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWXX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZWXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZWXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWXW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ZWYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ZWYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ZWWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ZWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ZWWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXYY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WXYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WXYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXZX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WXZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WXZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WXWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WXWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYXY => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WYXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WYXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYYW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WYZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WYZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WYWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WYWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZXX => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WZXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WZXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZXW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 WZYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 WZYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WZWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WZWW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWXX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWXX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWXY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWXY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWXZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWXZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWXW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWXW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWYX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWYX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWYY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWYY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWYZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWYZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWYW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWYW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWZX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWZX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWZY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWZY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWZZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWZZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWZW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWZW => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWWX => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWWX => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWWY => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWWY => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWWZ => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWWZ => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 WWWW => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(WWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 WWWW => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref double R => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(R)}"); + public ref double R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref double G => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(G)}"); + public ref double G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref double B => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(B)}"); + public ref double B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the A component. /// - public ref double A => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(A)}"); + public ref double A => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 RR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RB => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 RA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 RA => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GR => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 GG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GB => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 GA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 GA => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 BR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 BR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 BG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 BG => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 BB => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 BA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 BA => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 AR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 AR => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 AG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 AG => ref *(Double2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Double2 AB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double2 AB => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double2 AA => ref *(Double2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RRA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RGG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RGB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RGA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RBR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RBB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RBA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RAR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RAG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 RAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 RAB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 RAA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GRR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GRG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GRB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GRA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GGA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GBR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GBB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GBA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GAR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GAG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 GAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 GAB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 GAA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BRR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BRG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BRB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BRA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BGG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BGB => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BGA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BBA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BAR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 BAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 BAG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BAB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 BAA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ARR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ARR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ARG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ARG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ARB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ARB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ARA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ARA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 AGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 AGR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AGG => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 AGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 AGB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AGA => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ABR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ABR => ref *(Double3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Double3 ABG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double3 ABG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ABB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ABB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 ABA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 ABA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AAR => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AAG => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AAB => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 AAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double3 AAA => ref *(Double3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RRAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RRAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGBB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RGBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RGBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGAG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RGAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RGAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RGAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RGAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBGB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RBGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RBGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBAR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RBAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RBAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RBAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RBAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RARR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RARR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RARG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RARG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RARB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RARB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RARA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RARA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAGG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RAGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RAGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RABR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RABR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 RABG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 RABG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RABB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RABB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RABA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RABA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 RAAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(RAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 RAAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRBB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GRBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GRBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRAG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GRAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GRAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GRAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GRAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GGAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GGAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBRB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GBRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GBRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBBA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GBAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GBAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GBAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GBAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GARR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GARR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GARG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GARG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GARB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GARB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GARA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GARA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAGA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 GABR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 GABR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GABG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GABG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GABB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GABB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GABA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GABA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 GAAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(GAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 GAAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRGB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BRGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BRGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRAR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BRAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BRAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BRAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BRAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGRB => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BGRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BGRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGBA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BGAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BGAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BGAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BGAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BBAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BBAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BARR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BARR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BARG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BARG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BARB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BARB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BARA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BARA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 BAGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 BAGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BABR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BABR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BABG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BABG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BABB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BABB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BABA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BABA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 BAAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(BAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 BAAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARGG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ARGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ARGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARBR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ARBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ARBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ARAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ARAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ARAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGRR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGRG => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 AGRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 AGRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGRA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGGA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 AGBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 AGBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AGAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AGAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABRR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABRR => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ABRG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ABRG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABRB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABRB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABRA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABRA => ref *(Double4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Double4 ABGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Double4 ABGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABBR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABBR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABBG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABBG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABBB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABBB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABBA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABBA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 ABAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(ABAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 ABAA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AARR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AARR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AARG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AARG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AARB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AARB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AARA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AARA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAGR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAGR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAGG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAGG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAGB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAGB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAGA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAGA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AABR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AABR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AABG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AABG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AABB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AABB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AABA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AABA => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAAR => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAAR => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAAG => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAAG => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAAB => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAAB => ref *(Double4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Double4 AAAA => throw new InvalidExecutionContextException($"{typeof(Double4)}.{nameof(AAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Double4 AAAA => ref *(Double4*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Double4 operator -(Double4 xyzw) => throw new InvalidExecutionContextException($"{typeof(Double4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double4 operator -(Double4 xyzw) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Double4 operator +(Double4 left, Double4 right) => throw new InvalidExecutionContextException($"{typeof(Double4)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double4 operator +(Double4 left, Double4 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Double4 operator /(Double4 left, Double4 right) => throw new InvalidExecutionContextException($"{typeof(Double4)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double4 operator /(Double4 left, Double4 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Double4 operator *(Double4 left, Double4 right) => throw new InvalidExecutionContextException($"{typeof(Double4)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double4 operator *(Double4 left, Double4 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Double4 operator -(Double4 left, Double4 right) => throw new InvalidExecutionContextException($"{typeof(Double4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Double4 operator -(Double4 left, Double4 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float2.cs b/src/ComputeSharp/Core/Primitives/Float/Float2.cs index 9ca796f5..586bbb3a 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float2.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float2.cs @@ -63,18 +63,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(Double2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double2(Float2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(Int2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int2(Float2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt2(Float2 xy) => throw new InvalidExecutionContextException($"{nameof(Float2)}.({nameof(UInt2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt2(Float2 xy) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float2.g.cs b/src/ComputeSharp/Core/Primitives/Float/Float2.g.cs index 42a5e38b..872b9e89 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float2.g.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float2.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public partial struct Float2 + public unsafe partial struct Float2 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Float2), sizeof(Float2)); + [FieldOffset(0)] private float x; @@ -17,100 +22,114 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref float this[int i] => throw new InvalidExecutionContextException($"{typeof(Float2)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref float this[int i] => ref *(float*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref float X => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(X)}"); + public ref float X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref float Y => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(Y)}"); + public ref float Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 XX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XY => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YX => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YX => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 YY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref float R => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(R)}"); + public ref float R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref float G => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(G)}"); + public ref float G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 RR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RG => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GR => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GR => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{typeof(Float2)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 GG => ref *(Float2*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Float2 operator -(Float2 xy) => throw new InvalidExecutionContextException($"{typeof(Float2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float2 operator -(Float2 xy) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Float2 operator +(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float2 operator +(Float2 left, Float2 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Float2 operator /(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float2 operator /(Float2 left, Float2 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Float2 operator *(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float2 operator *(Float2 left, Float2 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Float2 operator -(Float2 left, Float2 right) => throw new InvalidExecutionContextException($"{typeof(Float2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float2 operator -(Float2 left, Float2 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float3.cs b/src/ComputeSharp/Core/Primitives/Float/Float3.cs index 81497f02..1cb9dad2 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float3.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float3.cs @@ -94,18 +94,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(Double3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double3(Float3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(Int3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int3(Float3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt3(Float3 xyz) => throw new InvalidExecutionContextException($"{nameof(Float3)}.({nameof(UInt3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt3(Float3 xyz) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float3.g.cs b/src/ComputeSharp/Core/Primitives/Float/Float3.g.cs index 254b1a85..bf6345c3 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float3.g.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float3.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public partial struct Float3 + public unsafe partial struct Float3 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Float3), sizeof(Float3)); + [FieldOffset(0)] private float x; @@ -20,430 +25,508 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref float this[int i] => throw new InvalidExecutionContextException($"{typeof(Float3)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref float this[int i] => ref *(float*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref float X => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(X)}"); + public ref float X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref float Y => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(Y)}"); + public ref float Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref float Z => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(Z)}"); + public ref float Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 XX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XZ => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YX => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 YY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YZ => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 ZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 ZX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 ZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 ZY => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 ZZ => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XYY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XYZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XZX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XZZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YXX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YXY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YXZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YZX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YZZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZXX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZXX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZXY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZXY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZXZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZYX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZYY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZYY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZYZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZX => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZY => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref float R => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(R)}"); + public ref float R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref float G => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(G)}"); + public ref float G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref float B => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(B)}"); + public ref float B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 RR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RB => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GR => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 GG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GB => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 BR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 BR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 BG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 BG => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 BB => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RGG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RGB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RBR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RBB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GRR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GRG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GRB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GBR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GBB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BRR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BRG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BRG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BRB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BGR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BGG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BGB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{typeof(Float3)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBB => ref *(Float3*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Float3 operator -(Float3 xyz) => throw new InvalidExecutionContextException($"{typeof(Float3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float3 operator -(Float3 xyz) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Float3 operator +(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float3 operator +(Float3 left, Float3 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Float3 operator /(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float3 operator /(Float3 left, Float3 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Float3 operator *(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float3 operator *(Float3 left, Float3 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Float3 operator -(Float3 left, Float3 right) => throw new InvalidExecutionContextException($"{typeof(Float3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float3 operator -(Float3 left, Float3 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float4.cs b/src/ComputeSharp/Core/Primitives/Float/Float4.cs index 0571ccd0..1410aac9 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float4.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float4.cs @@ -144,18 +144,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(Double4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double4(Float4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(Int4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int4(Float4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt4(Float4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Float4)}.({nameof(UInt4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt4(Float4 xyzw) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Float/Float4.g.cs b/src/ComputeSharp/Core/Primitives/Float/Float4.g.cs index 19c0bc09..c5c9842f 100644 --- a/src/ComputeSharp/Core/Primitives/Float/Float4.g.cs +++ b/src/ComputeSharp/Core/Primitives/Float/Float4.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] - public partial struct Float4 + public unsafe partial struct Float4 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Float4), sizeof(Float4)); + [FieldOffset(0)] private float x; @@ -23,3440 +28,4118 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref float this[int i] => throw new InvalidExecutionContextException($"{typeof(Float4)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref float this[int i] => ref *(float*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref float X => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(X)}"); + public ref float X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref float Y => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(Y)}"); + public ref float Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref float Z => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(Z)}"); + public ref float Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the W component. /// - public ref float W => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(W)}"); + public ref float W => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 XX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 XX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XZ => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 XW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 XW => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YX => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 YY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YZ => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 YW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 YW => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 ZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 ZX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 ZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 ZY => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 ZZ => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 ZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 ZW => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 WX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 WX => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 WY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 WY => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 WZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 WZ => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 WW => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XXW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XYY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XYZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XYW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XZX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XZZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XZW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XWX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XWY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 XWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 XWZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 XWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 XWW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YXX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YXY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YXZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YXW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YYW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YZX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YZZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YZW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YWX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YWY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 YWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 YWZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 YWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 YWW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZXX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZXY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZXZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZXW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZYY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZYZ => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZYW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZZW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZWX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ZWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ZWY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZWZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ZWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ZWW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WXX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WXY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WXZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WXW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WYX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WYY => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WYZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WYW => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WZX => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 WZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 WZY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WZZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WZW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WWX => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WWY => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WWZ => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 WWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 WWW => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XXWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XXWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYZZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XYZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XYZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYWY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XYWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XYWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XYWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XYWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZYZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XZYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XZYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZWX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XZWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XZWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XZWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XZWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWYY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XWYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XWYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWZX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 XWZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 XWZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 XWWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(XWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 XWWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXZZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YXZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YXZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXWY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YXWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YXWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YXWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YXWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YYWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YYWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZXZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YZXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YZXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZZW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YZWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YZWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YZWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YZWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWXY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YWXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YWXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWYW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 YWZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 YWZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 YWWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(YWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 YWWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXYZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZXYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZXYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXWX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZXWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZXWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZXWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZXWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYXZ => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZYXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZYXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYZW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZYWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZYWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZYWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZYWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZZWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZZWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWXX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZWXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZWXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWXW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ZWYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ZWYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ZWWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ZWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ZWWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXYY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WXYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WXYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXZX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WXZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WXZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WXWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WXWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYXY => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WYXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WYXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYYW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WYZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WYZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WYWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WYWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZXX => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WZXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WZXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZXW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 WZYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 WZYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WZWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WZWW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWXX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWXX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWXY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWXY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWXZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWXZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWXW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWXW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWYX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWYX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWYY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWYY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWYZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWYZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWYW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWYW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWZX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWZX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWZY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWZY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWZZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWZZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWZW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWZW => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWWX => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWWX => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWWY => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWWY => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWWZ => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWWZ => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 WWWW => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(WWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 WWWW => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref float R => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(R)}"); + public ref float R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref float G => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(G)}"); + public ref float G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref float B => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(B)}"); + public ref float B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the A component. /// - public ref float A => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(A)}"); + public ref float A => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 RR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RB => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 RA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 RA => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GR => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 GG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GB => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 GA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 GA => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 BR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 BR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 BG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 BG => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 BB => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 BA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 BA => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 AR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 AR => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 AG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 AG => ref *(Float2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Float2 AB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float2 AB => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float2 AA => ref *(Float2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RRA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RGG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RGB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RGA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RBR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RBB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RBA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RAR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RAG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 RAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 RAB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 RAA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GRR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GRG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GRB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GRA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GGA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GBR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GBB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GBA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GAR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GAG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 GAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 GAB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 GAA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BRR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BRG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BRB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BRA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BGG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BGB => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BGA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BBA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BAR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 BAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 BAG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BAB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 BAA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ARR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ARR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ARG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ARG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ARB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ARB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ARA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ARA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 AGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 AGR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AGG => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 AGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 AGB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AGA => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ABR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ABR => ref *(Float3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Float3 ABG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float3 ABG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ABB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ABB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 ABA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 ABA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AAR => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AAG => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AAB => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 AAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float3 AAA => ref *(Float3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RRAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RRAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGBB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RGBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RGBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGAG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RGAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RGAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RGAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RGAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBGB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RBGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RBGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBAR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RBAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RBAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RBAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RBAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RARR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RARR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RARG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RARG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RARB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RARB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RARA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RARA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAGG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RAGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RAGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RABR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RABR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 RABG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 RABG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RABB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RABB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RABA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RABA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 RAAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(RAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 RAAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRBB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GRBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GRBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRAG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GRAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GRAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GRAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GRAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GGAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GGAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBRB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GBRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GBRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBBA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GBAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GBAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GBAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GBAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GARR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GARR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GARG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GARG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GARB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GARB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GARA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GARA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAGA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 GABR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 GABR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GABG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GABG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GABB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GABB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GABA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GABA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 GAAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(GAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 GAAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRGB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BRGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BRGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRAR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BRAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BRAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BRAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BRAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGRB => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BGRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BGRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGBA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BGAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BGAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BGAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BGAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BBAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BBAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BARR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BARR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BARG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BARG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BARB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BARB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BARA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BARA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 BAGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 BAGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BABR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BABR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BABG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BABG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BABB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BABB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BABA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BABA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 BAAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(BAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 BAAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARGG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ARGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ARGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARBR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ARBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ARBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ARAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ARAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ARAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGRR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGRG => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 AGRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 AGRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGRA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGGA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 AGBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 AGBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AGAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AGAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABRR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABRR => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ABRG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ABRG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABRB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABRB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABRA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABRA => ref *(Float4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Float4 ABGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Float4 ABGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABBR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABBR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABBG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABBG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABBB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABBB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABBA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABBA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 ABAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(ABAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 ABAA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AARR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AARR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AARG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AARG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AARB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AARB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AARA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AARA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAGR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAGR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAGG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAGG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAGB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAGB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAGA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAGA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AABR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AABR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AABG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AABG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AABB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AABB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AABA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AABA => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAAR => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAAR => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAAG => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAAG => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAAB => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAAB => ref *(Float4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Float4 AAAA => throw new InvalidExecutionContextException($"{typeof(Float4)}.{nameof(AAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Float4 AAAA => ref *(Float4*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Float4 operator -(Float4 xyzw) => throw new InvalidExecutionContextException($"{typeof(Float4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float4 operator -(Float4 xyzw) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Float4 operator +(Float4 left, Float4 right) => throw new InvalidExecutionContextException($"{typeof(Float4)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float4 operator +(Float4 left, Float4 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Float4 operator /(Float4 left, Float4 right) => throw new InvalidExecutionContextException($"{typeof(Float4)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float4 operator /(Float4 left, Float4 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Float4 operator *(Float4 left, Float4 right) => throw new InvalidExecutionContextException($"{typeof(Float4)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float4 operator *(Float4 left, Float4 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Float4 operator -(Float4 left, Float4 right) => throw new InvalidExecutionContextException($"{typeof(Float4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Float4 operator -(Float4 left, Float4 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int2.cs b/src/ComputeSharp/Core/Primitives/Int/Int2.cs index 8cc711ff..ba70bd83 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int2.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int2.cs @@ -50,18 +50,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(UInt2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt2(Int2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(Float2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float2(Int2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double2(Int2 xy) => throw new InvalidExecutionContextException($"{nameof(Int2)}.({nameof(Double2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double2(Int2 xy) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int2.g.cs b/src/ComputeSharp/Core/Primitives/Int/Int2.g.cs index c7ca3a70..450a95d2 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int2.g.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int2.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public partial struct Int2 + public unsafe partial struct Int2 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Int2), sizeof(Int2)); + [FieldOffset(0)] private int x; @@ -17,100 +22,114 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref int this[int i] => throw new InvalidExecutionContextException($"{typeof(Int2)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref int this[int i] => ref *(int*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref int X => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(X)}"); + public ref int X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref int Y => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(Y)}"); + public ref int Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 XX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XY => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YX => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YX => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 YY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref int R => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(R)}"); + public ref int R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref int G => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(G)}"); + public ref int G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 RR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RG => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GR => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GR => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{typeof(Int2)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 GG => ref *(Int2*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Int2 operator -(Int2 xy) => throw new InvalidExecutionContextException($"{typeof(Int2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator -(Int2 xy) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Int2 operator +(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator +(Int2 left, Int2 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Int2 operator /(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator /(Int2 left, Int2 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Int2 operator *(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator *(Int2 left, Int2 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Int2 operator -(Int2 left, Int2 right) => throw new InvalidExecutionContextException($"{typeof(Int2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int2 operator -(Int2 left, Int2 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int3.cs b/src/ComputeSharp/Core/Primitives/Int/Int3.cs index 1a7a30b6..806ea3ac 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int3.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int3.cs @@ -81,18 +81,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(UInt3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt3(Int3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(Float3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float3(Int3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double3(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.({nameof(Double3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double3(Int3 xyz) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int3.g.cs b/src/ComputeSharp/Core/Primitives/Int/Int3.g.cs index dc26ca54..76709b41 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int3.g.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int3.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public partial struct Int3 + public unsafe partial struct Int3 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Int3), sizeof(Int3)); + [FieldOffset(0)] private int x; @@ -20,430 +25,508 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref int this[int i] => throw new InvalidExecutionContextException($"{typeof(Int3)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref int this[int i] => ref *(int*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref int X => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(X)}"); + public ref int X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref int Y => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(Y)}"); + public ref int Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref int Z => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(Z)}"); + public ref int Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 XX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XZ => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YX => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 YY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YZ => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 ZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 ZX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 ZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 ZY => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 ZZ => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XYY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XYZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XZX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XZZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YXX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YXY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YXZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YZX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YZZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZXX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZXY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZXY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZXZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZYX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZYY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZYZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref int R => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(R)}"); + public ref int R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref int G => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(G)}"); + public ref int G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref int B => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(B)}"); + public ref int B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 RR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RB => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GR => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 GG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GB => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 BR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 BR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 BG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 BG => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 BB => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RGG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RGB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RBR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RBB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GRR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GRG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GRB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GBR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GBB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BRR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BRG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BRG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BRB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BGR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BGG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BGB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{typeof(Int3)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBB => ref *(Int3*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{typeof(Int3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator -(Int3 xyz) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator +(Int3 left, Int3 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator /(Int3 left, Int3 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator *(Int3 left, Int3 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{typeof(Int3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int3 operator -(Int3 left, Int3 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int4.cs b/src/ComputeSharp/Core/Primitives/Int/Int4.cs index f7dd8298..fa00a68a 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int4.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int4.cs @@ -131,18 +131,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator UInt4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(UInt4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator UInt4(Int4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Float4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float4(Int4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double4(Int4 xyzw) => throw new InvalidExecutionContextException($"{nameof(Int4)}.({nameof(Double4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double4(Int4 xyzw) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/Int/Int4.g.cs b/src/ComputeSharp/Core/Primitives/Int/Int4.g.cs index 7093a5aa..671e68ee 100644 --- a/src/ComputeSharp/Core/Primitives/Int/Int4.g.cs +++ b/src/ComputeSharp/Core/Primitives/Int/Int4.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] - public partial struct Int4 + public unsafe partial struct Int4 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(Int4), sizeof(Int4)); + [FieldOffset(0)] private int x; @@ -23,3440 +28,4118 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref int this[int i] => throw new InvalidExecutionContextException($"{typeof(Int4)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref int this[int i] => ref *(int*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref int X => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(X)}"); + public ref int X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref int Y => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(Y)}"); + public ref int Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref int Z => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(Z)}"); + public ref int Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the W component. /// - public ref int W => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(W)}"); + public ref int W => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 XX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XZ => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 XW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 XW => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YX => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 YY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YZ => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 YW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 YW => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 ZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 ZX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 ZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 ZY => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 ZZ => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 ZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 ZW => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 WX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 WX => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 WY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 WY => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 WZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 WZ => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 WW => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XXW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XYY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XYZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XYW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XZX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XZZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XZW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XWX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XWY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 XWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 XWZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 XWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 XWW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YXX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YXY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YXZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YXW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YYW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YZX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YZZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YZW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YWX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YWY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 YWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 YWZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 YWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 YWW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZXX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZXY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZXZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZXW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZYY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZYZ => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZYW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZZW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZWX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ZWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ZWY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZWZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ZWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ZWW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WXX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WXY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WXZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WXW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WYX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WYY => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WYZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WYW => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WZX => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 WZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 WZY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WZZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WZW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WWX => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WWY => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WWZ => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 WWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 WWW => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XXWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XXWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYZZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XYZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XYZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYWY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XYWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XYWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XYWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XYWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZYZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XZYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XZYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZWX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XZWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XZWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XZWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XZWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWYY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XWYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XWYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWZX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 XWZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 XWZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 XWWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(XWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 XWWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXZZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YXZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YXZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXWY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YXWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YXWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YXWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YXWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YYWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YYWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZXZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YZXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YZXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZZW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YZWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YZWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YZWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YZWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWXY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YWXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YWXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWYW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 YWZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 YWZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 YWWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(YWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 YWWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXYZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZXYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZXYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXWX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZXWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZXWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZXWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZXWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYXZ => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZYXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZYXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYZW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZYWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZYWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZYWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZYWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZZWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZZWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWXX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZWXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZWXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWXW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ZWYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ZWYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ZWWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ZWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ZWWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXYY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WXYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WXYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXZX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WXZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WXZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WXWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WXWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYXY => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WYXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WYXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYYW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WYZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WYZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WYWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WYWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZXX => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WZXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WZXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZXW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 WZYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 WZYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WZWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WZWW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWXX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWXX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWXY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWXY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWXZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWXZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWXW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWXW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWYX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWYX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWYY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWYY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWYZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWYZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWYW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWYW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWZX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWZX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWZY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWZY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWZZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWZZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWZW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWZW => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWWX => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWWX => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWWY => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWWY => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWWZ => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWWZ => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 WWWW => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(WWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 WWWW => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref int R => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(R)}"); + public ref int R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref int G => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(G)}"); + public ref int G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref int B => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(B)}"); + public ref int B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the A component. /// - public ref int A => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(A)}"); + public ref int A => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 RR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RB => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 RA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 RA => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GR => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 GG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GB => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 GA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 GA => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 BR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 BR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 BG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 BG => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 BB => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 BA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 BA => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 AR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 AR => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 AG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 AG => ref *(Int2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref Int2 AB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int2 AB => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int2 AA => ref *(Int2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RRA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RGG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RGB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RGA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RBR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RBB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RBA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RAR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RAG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 RAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 RAB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 RAA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GRR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GRG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GRB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GRA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GGA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GBR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GBB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GBA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GAR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GAG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 GAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 GAB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 GAA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BRR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BRG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BRB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BRA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BGG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BGB => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BGA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BBA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BAR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 BAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 BAG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BAB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 BAA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ARR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ARR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ARG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ARG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ARB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ARB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ARA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ARA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 AGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 AGR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AGG => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 AGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 AGB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AGA => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ABR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ABR => ref *(Int3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref Int3 ABG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int3 ABG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ABB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ABB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 ABA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 ABA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AAR => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AAG => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AAB => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 AAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int3 AAA => ref *(Int3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RRAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RRAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGBB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RGBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RGBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGAG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RGAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RGAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RGAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RGAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBGB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RBGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RBGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBAR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RBAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RBAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RBAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RBAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RARR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RARR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RARG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RARG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RARB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RARB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RARA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RARA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAGG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RAGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RAGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RABR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RABR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 RABG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 RABG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RABB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RABB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RABA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RABA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 RAAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(RAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 RAAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRBB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GRBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GRBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRAG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GRAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GRAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GRAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GRAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GGAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GGAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBRB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GBRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GBRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBBA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GBAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GBAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GBAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GBAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GARR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GARR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GARG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GARG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GARB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GARB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GARA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GARA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAGA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 GABR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 GABR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GABG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GABG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GABB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GABB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GABA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GABA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 GAAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(GAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 GAAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRGB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BRGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BRGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRAR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BRAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BRAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BRAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BRAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGRB => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BGRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BGRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGBA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BGAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BGAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BGAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BGAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BBAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BBAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BARR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BARR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BARG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BARG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BARB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BARB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BARA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BARA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 BAGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 BAGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BABR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BABR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BABG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BABG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BABB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BABB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BABA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BABA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 BAAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(BAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 BAAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARGG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ARGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ARGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARBR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ARBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ARBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ARAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ARAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ARAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGRR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGRG => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 AGRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 AGRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGRA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGGA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 AGBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 AGBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AGAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AGAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABRR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABRR => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ABRG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ABRG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABRB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABRB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABRA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABRA => ref *(Int4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref Int4 ABGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref Int4 ABGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABBR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABBR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABBG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABBG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABBB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABBB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABBA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABBA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 ABAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(ABAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 ABAA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AARR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AARR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AARG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AARG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AARB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AARB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AARA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AARA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAGR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAGR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAGG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAGG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAGB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAGB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAGA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAGA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AABR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AABR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AABG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AABG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AABB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AABB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AABA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AABA => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAAR => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAAR => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAAG => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAAG => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAAB => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAAB => ref *(Int4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly Int4 AAAA => throw new InvalidExecutionContextException($"{typeof(Int4)}.{nameof(AAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly Int4 AAAA => ref *(Int4*)UndefinedData; /// /// Negates a value. /// /// The value to negate. - public static Int4 operator -(Int4 xyzw) => throw new InvalidExecutionContextException($"{typeof(Int4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator -(Int4 xyzw) => default; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static Int4 operator +(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{typeof(Int4)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator +(Int4 left, Int4 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static Int4 operator /(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{typeof(Int4)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator /(Int4 left, Int4 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static Int4 operator *(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{typeof(Int4)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator *(Int4 left, Int4 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static Int4 operator -(Int4 left, Int4 right) => throw new InvalidExecutionContextException($"{typeof(Int4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static Int4 operator -(Int4 left, Int4 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt2.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt2.cs index 54c8d69a..a14513eb 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt2.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt2.cs @@ -50,18 +50,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Int2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int2(UInt2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Float2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float2(UInt2 xy) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double2(UInt2 xy) => throw new InvalidExecutionContextException($"{nameof(UInt2)}.({nameof(Double2)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double2(UInt2 xy) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt2.g.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt2.g.cs index 2f2d7fa3..d9e493b7 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt2.g.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt2.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 8, Pack = 4)] - public partial struct UInt2 + public unsafe partial struct UInt2 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(UInt2), sizeof(UInt2)); + [FieldOffset(0)] private uint x; @@ -17,94 +22,107 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref uint this[int i] => throw new InvalidExecutionContextException($"{typeof(UInt2)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref uint this[int i] => ref *(uint*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref uint X => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(X)}"); + public ref uint X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref uint Y => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(Y)}"); + public ref uint Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 XX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XY => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YX => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YX => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 YY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref uint R => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(R)}"); + public ref uint R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref uint G => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(G)}"); + public ref uint G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 RR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RG => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GR => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GR => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{typeof(UInt2)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 GG => ref *(UInt2*)UndefinedData; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static UInt2 operator +(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator +(UInt2 left, UInt2 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static UInt2 operator /(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator /(UInt2 left, UInt2 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static UInt2 operator *(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator *(UInt2 left, UInt2 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static UInt2 operator -(UInt2 left, UInt2 right) => throw new InvalidExecutionContextException($"{typeof(UInt2)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt2 operator -(UInt2 left, UInt2 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt3.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt3.cs index a0cbfa7b..a8e769a9 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt3.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt3.cs @@ -81,18 +81,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Int3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int3(UInt3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Float3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float3(UInt3 xyz) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double3(UInt3 xyz) => throw new InvalidExecutionContextException($"{nameof(UInt3)}.({nameof(Double3)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double3(UInt3 xyz) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt3.g.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt3.g.cs index abdc2d01..c10c488b 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt3.g.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt3.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 12, Pack = 4)] - public partial struct UInt3 + public unsafe partial struct UInt3 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(UInt3), sizeof(UInt3)); + [FieldOffset(0)] private uint x; @@ -20,424 +25,501 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref uint this[int i] => throw new InvalidExecutionContextException($"{typeof(UInt3)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref uint this[int i] => ref *(uint*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref uint X => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(X)}"); + public ref uint X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref uint Y => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(Y)}"); + public ref uint Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref uint Z => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(Z)}"); + public ref uint Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 XX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XZ => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YX => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 YY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YZ => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 ZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 ZX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 ZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 ZY => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 ZZ => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XYY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XYZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XZX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XZZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YXX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YXY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YXZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YZX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YZZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZXX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZXX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZXY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZXY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZXZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZYX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZYY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZYY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZYZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZX => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZY => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref uint R => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(R)}"); + public ref uint R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref uint G => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(G)}"); + public ref uint G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref uint B => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(B)}"); + public ref uint B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 RR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RB => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GR => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 GG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GB => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 BR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 BR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 BG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 BG => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 BB => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RGG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RGB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RBR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RBB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GRR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GRG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GRB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GBR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GBB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BRR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BRG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BRG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BRB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BGR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BGG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BGB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{typeof(UInt3)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBB => ref *(UInt3*)UndefinedData; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static UInt3 operator +(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator +(UInt3 left, UInt3 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static UInt3 operator /(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator /(UInt3 left, UInt3 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static UInt3 operator *(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator *(UInt3 left, UInt3 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static UInt3 operator -(UInt3 left, UInt3 right) => throw new InvalidExecutionContextException($"{typeof(UInt3)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt3 operator -(UInt3 left, UInt3 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt4.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt4.cs index 453c9495..f397e5e9 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt4.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt4.cs @@ -131,18 +131,21 @@ namespace ComputeSharp /// Casts a value to a one. /// /// The input value to cast. - public static explicit operator Int4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Int4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static explicit operator Int4(UInt4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Float4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Float4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Float4(UInt4 xyzw) => default; /// /// Casts a value to a one. /// /// The input value to cast. - public static implicit operator Double4(UInt4 xyzw) => throw new InvalidExecutionContextException($"{nameof(UInt4)}.({nameof(Double4)})"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static implicit operator Double4(UInt4 xyzw) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/UInt/UInt4.g.cs b/src/ComputeSharp/Core/Primitives/UInt/UInt4.g.cs index 673aa7a5..92583ce9 100644 --- a/src/ComputeSharp/Core/Primitives/UInt/UInt4.g.cs +++ b/src/ComputeSharp/Core/Primitives/UInt/UInt4.g.cs @@ -1,12 +1,17 @@ -using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = 16, Pack = 4)] - public partial struct UInt4 + public unsafe partial struct UInt4 { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(UInt4), sizeof(UInt4)); + [FieldOffset(0)] private uint x; @@ -23,3434 +28,4111 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref uint this[int i] => throw new InvalidExecutionContextException($"{typeof(UInt4)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref uint this[int i] => ref *(uint*)UndefinedData; /// /// Gets a reference to the value representing the X component. /// - public ref uint X => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(X)}"); + public ref uint X => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the Y component. /// - public ref uint Y => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(Y)}"); + public ref uint Y => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the Z component. /// - public ref uint Z => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(Z)}"); + public ref uint Z => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the W component. /// - public ref uint W => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(W)}"); + public ref uint W => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 XX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 XX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XZ => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 XW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 XW => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YX => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 YY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YZ => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 YW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 YW => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 ZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 ZX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 ZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 ZY => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 ZZ => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 ZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 ZW => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 WX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 WX => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 WY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 WY => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 WZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 WZ => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 WW => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XXW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XYY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XYZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XYW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XZX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XZZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XZW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XWX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XWY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 XWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 XWZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 XWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 XWW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YXX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YXY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YXZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YXW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YYW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YZX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YZZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YZW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YWX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YWY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 YWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 YWZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 YWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 YWW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZXX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZXY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZXZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZXW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZYY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZYZ => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZYW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZZW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZWX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ZWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ZWY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZWZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ZWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ZWW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WXX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WXY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WXZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WXW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WYX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WYY => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WYZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WYW => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WZX => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 WZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 WZY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WZZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WZW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WWX => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WWY => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WWZ => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 WWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 WWW => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XXWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XXWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYZZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XYZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XYZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYWY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XYWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XYWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XYWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XYWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZYZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XZYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XZYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZWX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XZWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XZWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XZWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XZWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWYY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XWYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XWYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWZX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 XWZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 XWZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 XWWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(XWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 XWWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXZZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YXZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YXZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXWY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YXWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YXWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YXWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YXWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YYWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YYWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZXZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YZXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YZXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZZW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YZWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YZWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YZWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YZWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWXY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YWXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YWXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWYW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 YWZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 YWZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 YWWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(YWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 YWWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXYZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZXYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZXYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXWX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZXWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZXWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZXWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZXWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYXZ => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZYXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZYXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYZW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZYWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZYWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZYWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZYWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZZWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZZWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWXX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZWXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZWXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWXW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ZWYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ZWYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ZWWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ZWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ZWWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXYY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WXYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WXYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXZX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WXZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WXZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WXWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WXWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WXWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYXY => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WYXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WYXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYYW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WYZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WYZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WYWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WYWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WYWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZXX => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WZXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WZXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZXW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 WZYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 WZYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WZWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WZWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WZWW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWXX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWXX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWXX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWXY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWXY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWXY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWXZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWXZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWXZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWXW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWXW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWXW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWYX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWYX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWYX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWYY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWYY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWYY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWYZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWYZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWYZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWYW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWYW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWYW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWZX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWZX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWZX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWZY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWZY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWZY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWZZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWZZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWZZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWZW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWZW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWZW => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWWX => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWWX)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWWX => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWWY => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWWY)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWWY => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWWZ => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWWZ)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWWZ => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 WWWW => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(WWWW)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 WWWW => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value representing the R component. /// - public ref uint R => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(R)}"); + public ref uint R => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.x, 1)); /// /// Gets a reference to the value representing the G component. /// - public ref uint G => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(G)}"); + public ref uint G => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.y, 1)); /// /// Gets a reference to the value representing the B component. /// - public ref uint B => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(B)}"); + public ref uint B => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.z, 1)); /// /// Gets a reference to the value representing the A component. /// - public ref uint A => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(A)}"); + public ref uint A => ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.w, 1)); /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 RR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RB => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 RA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 RA => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GR => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 GG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GB => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 GA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 GA => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 BR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 BR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 BG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 BG => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 BB => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 BA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 BA => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 AR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 AR => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 AG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 AG => ref *(UInt2*)UndefinedData; /// /// Gets a reference to the value with the components , . /// - public ref UInt2 AB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt2 AB => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , . /// - public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt2 AA => ref *(UInt2*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RRA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RGG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RGB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RGA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RBR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RBB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RBA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RAR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RAG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 RAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 RAB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 RAA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GRR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GRG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GRB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GRA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GGA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GBR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GBB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GBA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GAR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GAG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 GAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 GAB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 GAA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BRR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BRG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BRB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BRA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BGG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BGB => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BGA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BBA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BAR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 BAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 BAG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BAB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 BAA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ARR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ARR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ARG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ARG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ARB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ARB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ARA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ARA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 AGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 AGR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AGG => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 AGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 AGB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AGA => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ABR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ABR => ref *(UInt3*)UndefinedData; /// /// Gets a reference to the value with the components , , . /// - public ref UInt3 ABG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt3 ABG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ABB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ABB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 ABA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 ABA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AAR => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AAG => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AAB => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 AAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt3 AAA => ref *(UInt3*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RRAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RRAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGBB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RGBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RGBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGAG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RGAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RGAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RGAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RGAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBGB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RBGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RBGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBAR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RBAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RBAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RBAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RBAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RARR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RARR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RARG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RARG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RARB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RARB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RARA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RARA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAGG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RAGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RAGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RABR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RABR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 RABG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 RABG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RABB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RABB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RABA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RABA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 RAAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(RAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 RAAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRBB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GRBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GRBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRAG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GRAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GRAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GRAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GRAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GGAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GGAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBRB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GBRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GBRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBBA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GBAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GBAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GBAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GBAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GARR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GARR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GARG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GARG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GARB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GARB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GARA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GARA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAGA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 GABR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 GABR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GABG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GABG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GABB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GABB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GABA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GABA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 GAAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(GAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 GAAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRGB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BRGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BRGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRAR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BRAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BRAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BRAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BRAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BRAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGRB => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BGRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BGRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGBA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BGAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BGAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BGAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BGAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BBAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BBAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BBAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BARR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BARR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BARG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BARG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BARB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BARB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BARA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BARA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 BAGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 BAGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BABR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BABR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BABG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BABG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BABB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BABB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BABA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BABA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 BAAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(BAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 BAAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARGG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ARGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ARGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARBR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ARBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ARBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ARAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ARAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ARAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGRR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGRG => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 AGRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 AGRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGRA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGGA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 AGBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 AGBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AGAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AGAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AGAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABRR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABRR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABRR => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ABRG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABRG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ABRG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABRB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABRB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABRB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABRA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABRA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABRA => ref *(UInt4*)UndefinedData; /// /// Gets a reference to the value with the components , , , . /// - public ref UInt4 ABGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref UInt4 ABGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABBR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABBR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABBR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABBG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABBG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABBG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABBB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABBB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABBB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABBA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABBA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABBA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 ABAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(ABAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 ABAA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AARR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AARR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AARR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AARG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AARG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AARG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AARB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AARB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AARB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AARA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AARA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AARA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAGR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAGR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAGR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAGG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAGG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAGG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAGB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAGB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAGB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAGA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAGA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAGA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AABR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AABR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AABR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AABG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AABG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AABG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AABB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AABB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AABB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AABA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AABA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AABA => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAAR => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAAR)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAAR => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAAG => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAAG)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAAG => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAAB => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAAB)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAAB => ref *(UInt4*)UndefinedData; /// /// Gets a readonly reference to the value with the components , , , . /// - public ref readonly UInt4 AAAA => throw new InvalidExecutionContextException($"{typeof(UInt4)}.{nameof(AAAA)}"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref readonly UInt4 AAAA => ref *(UInt4*)UndefinedData; /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. - public static UInt4 operator +(UInt4 left, UInt4 right) => throw new InvalidExecutionContextException($"{typeof(UInt4)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator +(UInt4 left, UInt4 right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static UInt4 operator /(UInt4 left, UInt4 right) => throw new InvalidExecutionContextException($"{typeof(UInt4)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator /(UInt4 left, UInt4 right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static UInt4 operator *(UInt4 left, UInt4 right) => throw new InvalidExecutionContextException($"{typeof(UInt4)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator *(UInt4 left, UInt4 right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static UInt4 operator -(UInt4 left, UInt4 right) => throw new InvalidExecutionContextException($"{typeof(UInt4)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static UInt4 operator -(UInt4 left, UInt4 right) => default; } } diff --git a/src/ComputeSharp/Core/Primitives/VectorType.ttinclude b/src/ComputeSharp/Core/Primitives/VectorType.ttinclude index 23e29de2..45bab9c2 100644 --- a/src/ComputeSharp/Core/Primitives/VectorType.ttinclude +++ b/src/ComputeSharp/Core/Primitives/VectorType.ttinclude @@ -66,16 +66,21 @@ void GenerateVectorProperties(string typeName, int elementSize) string hlslElementTypeName = elementTypeName.ToLower(); int i = int.Parse(Regex.Match(typeName, @"\d+$").Value); #> +using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using ComputeSharp.Exceptions; namespace ComputeSharp { /// [StructLayout(LayoutKind.Explicit, Size = <#=(elementSize * i)#>, Pack = <#=elementSize#>)] - public partial struct <#=typeName#> + public unsafe partial struct <#=typeName#> { + /// + /// A private buffer to which the undefined properties will point to. + /// + private static readonly void* UndefinedData = (void*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(<#=typeName#>), sizeof(<#=typeName#>)); <# + WriteLine(""); PushIndent(" "); PushIndent(" "); @@ -94,7 +99,8 @@ namespace ComputeSharp /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. - public ref <#=hlslElementTypeName#> this[int i] => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}[{typeof(int)}]"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public ref <#=hlslElementTypeName#> this[int i] => ref *(<#=hlslElementTypeName#>*)UndefinedData; <# PushIndent(" "); PushIndent(" "); @@ -119,6 +125,13 @@ namespace ComputeSharp if (propertyName.Length == 1) { WriteLine($"/// Gets a reference to the value representing the {propertyName} component."); + WriteLine("/// "); + + char fieldName = "xyzw"["xyzwrgba".IndexOf(propertyName.ToLower()) % 4]; + + // Property + Write($"public {refType} {propertyType} {propertyName} "); + WriteLine($"=> ref MemoryMarshal.GetReference(MemoryMarshal.CreateSpan(ref this.{fieldName}, 1));"); } else { @@ -126,13 +139,14 @@ namespace ComputeSharp if (isReadonly) Write("readonly "); Write($"reference to the value with the components "); Write(string.Join(", ", propertyName.Select(c => $""))); - WriteLine("."); - } - WriteLine("/// "); + WriteLine("."); + WriteLine("/// "); + WriteLine("/// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior."); - // Property - Write($"public {refType} {propertyType} {propertyName} "); - WriteLine($"=> throw new InvalidExecutionContextException($\"{{typeof({typeName})}}.{{nameof({propertyName})}}\");"); + // Property + Write($"public {refType} {propertyType} {propertyName} "); + WriteLine($"=> ref *({propertyType}*)UndefinedData;"); + } } PopIndent(); @@ -149,7 +163,8 @@ namespace ComputeSharp /// Negates a value. /// /// The value to negate. - public static <#=typeName#> operator -(<#=typeName#> <#=argumentName#>) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator -(<#=typeName#> <#=argumentName#>) => default; <# } @@ -163,28 +178,32 @@ namespace ComputeSharp /// /// The first value to sum. /// The second value to sum. - public static <#=typeName#> operator +(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.+"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator +(<#=typeName#> left, <#=typeName#> right) => default; /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. - public static <#=typeName#> operator /(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}./"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator /(<#=typeName#> left, <#=typeName#> right) => default; /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. - public static <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.*"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator *(<#=typeName#> left, <#=typeName#> right) => default; /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. - public static <#=typeName#> operator -(<#=typeName#> left, <#=typeName#> right) => throw new InvalidExecutionContextException($"{typeof(<#=typeName#>)}.-"); + /// This method is an intrinsic and can only be used within a shader on the GPU. Using it on the CPU is undefined behavior. + public static <#=typeName#> operator -(<#=typeName#> left, <#=typeName#> right) => default; <# } #>