diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs new file mode 100644 index 00000000..90deb2ea --- /dev/null +++ b/src/ComputeSharp.Shaders/Primitives/Int/Int4.cs @@ -0,0 +1,1181 @@ +using System.Runtime.InteropServices; +using ComputeSharp.Graphics.Exceptions; + +namespace ComputeSharp.Shaders.Primitives.Int +{ + /// + /// A that maps the int4 HLSL type + /// + [StructLayout(LayoutKind.Sequential, Size = sizeof(int) * 4)] + public struct Int4 + { + /// + /// Creates a new instance with the specified parameters + /// + /// The value to assign to the first vector component + /// The value to assign to the second vector component + /// The value to assign to the third vector component + /// The value to assign to the fourth vector component + public Int4(int x, int y, int z, int w) + { + X = x; + Y = y; + Z = z; + W = w; + } + + /// + /// Gets or sets the value of the first vector component + /// + public int X { get; set; } + + /// + /// Gets or sets the value of the second vector component + /// + public int Y { get; set; } + + /// + /// Gets or sets the value of the third vector component + /// + public int Z { get; set; } + + /// + /// Gets or sets the value of the fourth vector component + /// + public int W { get; set; } + + /// + /// Gets or sets the value of the first color component + /// + public float R + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}"); + } + + /// + /// Gets or sets the value of the second color component + /// + public float G + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}"); + } + + /// + /// Gets or sets the value of the third color component + /// + public float B + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}"); + } + + /// + /// Gets or sets the value of the fourth color component + /// + public float A + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}"); + } + + /// + /// Gets or sets a specific component in the current instance + /// + /// The index of the component to access + public float this[int i] + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}[int]"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XX)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 XY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XY)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 XZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZ)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 XW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XW)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 YX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YX)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YY)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 YZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZ)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 YW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YW)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 ZX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZX)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 ZY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZY)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZ)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 ZW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZW)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 WX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WX)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 WY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WY)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 WZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZ)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WW)}"); + + /// + /// Gets an value with the value for all components + /// + public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RR)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 RG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RG)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 RB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RB)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 RA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RA)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 GR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GR)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GG)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 GB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GB)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 GA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GA)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 BR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BR)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 BG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BG)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BB)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 BA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BA)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 AR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AR)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 AG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AG)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 AB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AB)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AA)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 XXX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXX)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 XXY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXY)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXZ)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 XXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXW)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 XYX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYX)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 XYY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYY)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XYZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYZ)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XYW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYW)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 XZX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZX)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XZY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZY)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZZ)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XZW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZW)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 XWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWX)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XWY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWY)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 XWZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWZ)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 XWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWW)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 YXX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXX)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 YXY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXY)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YXZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXZ)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YXW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXW)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 YYX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYX)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 YYY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYY)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYZ)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 YYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYW)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YZX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZX)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 YZY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZY)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZZ)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YZW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZW)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YWX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWX)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 YWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWY)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 YWZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWZ)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 YWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWW)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXX)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZXY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXY)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXZ)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZXW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXW)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZYX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYX)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYY)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYZ)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZYW + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYW)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYW)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZX)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZY)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZZ)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ZZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZW)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZWX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWX)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ZWY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWY)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWZ)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ZWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWW)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 WXX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXX)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WXY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXY)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WXZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXZ)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 WXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXW)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WYX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYX)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 WYY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYY)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WYZ + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYZ)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYZ)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 WYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYW)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WZX + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZX)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZX)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 WZY + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZY)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZY)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 WZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZZ)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 WZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZW)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 WWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWX)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 WWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWY)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 WWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWZ)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 WWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWW)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRR)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRG)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRB)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 RRA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRA)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGR)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RGB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGB)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RGA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGA)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RBG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RBA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBA)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 RAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RAG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAG)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 RAB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 RAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAA)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRR)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GRB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRB)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GRA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRA)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGR)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGG)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGB)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 GGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGA)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GBR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBG)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GBA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBA)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GAR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 GAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 GAB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 GAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAA)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BRG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BRA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRA)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BGR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGG)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BGA + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGA)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGA)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBR)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBG)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBB)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 BBA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBA)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BAR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAR)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 BAG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 BAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAB)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 BAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAA)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ARR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ARG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARG)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ARB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ARA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARA)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 AGR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 AGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 AGB + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 AGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGA)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ABR + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABR)}"); + } + + /// + /// Gets or sets an value with the , and values + /// + public Int3 ABG + { + get => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int3 ABB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABB)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 ABA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABA)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 AAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAR)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 AAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAG)}"); + + /// + /// Gets an value with the , and values + /// + public Int3 AAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAB)}"); + + /// + /// Gets an value with the value for all components + /// + public Int3 AAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAA)}"); + } +}