From 4f689d0a186f9d5a42713f1225ead1d5d401f0a9 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Thu, 25 Feb 2021 03:09:10 +0100 Subject: [PATCH] Added missing swizzling properties to primitive types --- .../Primitives/Bool/Bool2.g.cs | 148 +++- .../Primitives/Bool/Bool3.g.cs | 540 +++++++++++++- .../Primitives/Bool/Bool4.g.cs | 690 +++++++++++++++--- .../Primitives/Double/Double2.g.cs | 148 +++- .../Primitives/Double/Double3.g.cs | 540 +++++++++++++- .../Primitives/Double/Double4.g.cs | 690 +++++++++++++++--- .../Primitives/Float/Float2.g.cs | 148 +++- .../Primitives/Float/Float3.g.cs | 540 +++++++++++++- .../Primitives/Float/Float4.g.cs | 690 +++++++++++++++--- .../Primitives/Int/Int2.g.cs | 148 +++- .../Primitives/Int/Int3.g.cs | 540 +++++++++++++- .../Primitives/Int/Int4.g.cs | 690 +++++++++++++++--- .../Primitives/UInt/UInt2.g.cs | 148 +++- .../Primitives/UInt/UInt3.g.cs | 540 +++++++++++++- .../Primitives/UInt/UInt4.g.cs | 690 +++++++++++++++--- .../Primitives/VectorType.ttinclude | 78 +- 16 files changed, 6328 insertions(+), 640 deletions(-) diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool2.g.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool2.g.cs index e59cfd0b..085edf57 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool2.g.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool2.g.cs @@ -30,14 +30,14 @@ namespace ComputeSharp public ref bool Y => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(Y)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the Z component. /// - public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}"); + public ref bool Z => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the G component. + /// Gets a reference to the value representing the W component. /// - public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}"); + public ref bool W => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -49,6 +49,16 @@ namespace ComputeSharp /// public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -59,6 +69,76 @@ namespace ComputeSharp /// public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 YW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(YW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 ZW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WX => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WY => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WZ => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(WW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(A)}"); + /// /// Gets a readonly reference to the value with the components , . /// @@ -69,6 +149,16 @@ namespace ComputeSharp /// public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(RA)}"); + /// /// Gets a reference to the value with the components , . /// @@ -78,5 +168,55 @@ namespace ComputeSharp /// Gets a readonly reference to the value with the components , . /// public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AR => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AG => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AB => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{nameof(Bool2)}.{nameof(AA)}"); } } diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool3.g.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool3.g.cs index 24379f6a..72c49824 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool3.g.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool3.g.cs @@ -38,19 +38,9 @@ namespace ComputeSharp public ref bool Z => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the W component. /// - public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(B)}"); + public ref bool W => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -62,6 +52,16 @@ namespace ComputeSharp /// public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -73,24 +73,54 @@ namespace ComputeSharp public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}"); + public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}"); + public ref Bool2 YW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}"); + public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}"); + public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 ZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -107,6 +137,11 @@ namespace ComputeSharp /// public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -122,6 +157,11 @@ namespace ComputeSharp /// public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -137,6 +177,31 @@ namespace ComputeSharp /// public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -152,6 +217,11 @@ namespace ComputeSharp /// public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -167,6 +237,11 @@ namespace ComputeSharp /// public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -182,6 +257,31 @@ namespace ComputeSharp /// public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -197,6 +297,11 @@ namespace ComputeSharp /// public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -212,6 +317,11 @@ namespace ComputeSharp /// public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -227,6 +337,211 @@ namespace ComputeSharp /// public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ZZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ZWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ZWW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WXX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WXY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WXZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WXW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WXW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WYX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WYY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WYZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WYW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WYW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WZX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 WZY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WZZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WZW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WWX => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WWY => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WWZ => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 WWW => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(WWW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -242,6 +557,11 @@ namespace ComputeSharp /// public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -257,6 +577,11 @@ namespace ComputeSharp /// public ref Bool3 RGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -272,6 +597,31 @@ namespace ComputeSharp /// public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(RAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -287,6 +637,11 @@ namespace ComputeSharp /// public ref Bool3 GRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -302,6 +657,11 @@ namespace ComputeSharp /// public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GGA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -317,6 +677,31 @@ namespace ComputeSharp /// public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(GAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -332,6 +717,11 @@ namespace ComputeSharp /// public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BRA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BRA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -347,6 +737,11 @@ namespace ComputeSharp /// public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -361,5 +756,110 @@ namespace ComputeSharp /// Gets a readonly reference to the value with the components , , . /// public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BBA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ARR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ARG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ARB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ARA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 AGR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AGG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 AGB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AGA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ABR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ABG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ABB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ABA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAR => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAG => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAB => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAA => throw new InvalidExecutionContextException($"{nameof(Bool3)}.{nameof(AAA)}"); } } diff --git a/src/ComputeSharp.Core/Primitives/Bool/Bool4.g.cs b/src/ComputeSharp.Core/Primitives/Bool/Bool4.g.cs index 1439e669..0139055f 100644 --- a/src/ComputeSharp.Core/Primitives/Bool/Bool4.g.cs +++ b/src/ComputeSharp.Core/Primitives/Bool/Bool4.g.cs @@ -45,26 +45,6 @@ namespace ComputeSharp /// public ref bool W => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(W)}"); - /// - /// Gets a reference to the value representing the R component. - /// - public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(B)}"); - - /// - /// Gets a reference to the value representing the A component. - /// - public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(A)}"); - /// /// Gets a readonly reference to the value with the components , . /// @@ -75,6 +55,16 @@ namespace ComputeSharp /// public ref Bool2 XY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 XW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -86,24 +76,54 @@ namespace ComputeSharp public ref readonly Bool2 YY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RR)}"); + public ref Bool2 YZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RG)}"); + public ref Bool2 YW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GR)}"); + public ref Bool2 ZX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GG)}"); + public ref Bool2 ZY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 ZZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 ZW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 WZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 WW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -120,6 +140,11 @@ namespace ComputeSharp /// public ref readonly Bool3 XXZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XXW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -135,6 +160,11 @@ namespace ComputeSharp /// public ref Bool3 XYZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XYW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -150,6 +180,31 @@ namespace ComputeSharp /// public ref readonly Bool3 XZZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XZW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XWX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XWY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 XWZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 XWW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -165,6 +220,11 @@ namespace ComputeSharp /// public ref Bool3 YXZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YXW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -180,6 +240,11 @@ namespace ComputeSharp /// public ref readonly Bool3 YYZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YYW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -195,6 +260,31 @@ namespace ComputeSharp /// public ref readonly Bool3 YZZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YZW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YWX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YWY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 YWZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 YWW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -210,6 +300,11 @@ namespace ComputeSharp /// public ref readonly Bool3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZXW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -225,6 +320,11 @@ namespace ComputeSharp /// public ref readonly Bool3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ZYW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -241,139 +341,109 @@ namespace ComputeSharp public ref readonly Bool3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRR)}"); + public ref readonly Bool3 ZZW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRG)}"); + public ref Bool3 ZWX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRB)}"); + public ref Bool3 ZWY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZWY)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGR)}"); + public ref readonly Bool3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGG)}"); + public ref readonly Bool3 ZWW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ZWW)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Bool3 RGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGB)}"); + public ref readonly Bool3 WXX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WXX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBR)}"); + public ref Bool3 WXY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WXY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Bool3 RBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBG)}"); + public ref Bool3 WXZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WXZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBB)}"); + public ref readonly Bool3 WXW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WXW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRR)}"); + public ref Bool3 WYX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WYX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRG)}"); + public ref readonly Bool3 WYY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WYY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Bool3 GRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRB)}"); + public ref Bool3 WYZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WYZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGR)}"); + public ref readonly Bool3 WYW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WYW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGG)}"); + public ref Bool3 WZX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WZX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGB)}"); + public ref Bool3 WZY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WZY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Bool3 GBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBR)}"); + public ref readonly Bool3 WZZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBG)}"); + public ref readonly Bool3 WZW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBB)}"); + public ref readonly Bool3 WWX => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRR)}"); + public ref readonly Bool3 WWY => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WWY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Bool3 BRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRG)}"); + public ref readonly Bool3 WWZ => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRB)}"); - - /// - /// Gets a reference to the value with the components , , . - /// - public ref Bool3 BGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGB)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBB)}"); + public ref readonly Bool3 WWW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WWW)}"); /// /// Gets a readonly reference to the value with the components , , , . @@ -1655,6 +1725,426 @@ namespace ComputeSharp /// public ref readonly Bool4 WWWW => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(WWWW)}"); + /// + /// Gets a reference to the value representing the R component. + /// + public ref bool R => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref bool G => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref bool B => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref bool A => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 RR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 RA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 GG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 GA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 BB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 BA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Bool2 AB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Bool2 AA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RRA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RGA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RBA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RAR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RAG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 RAB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 RAA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(RAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GRA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GGA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GBA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GAR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GAG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 GAB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 GAA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(GAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BRR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BRG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BRB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BRA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BRA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BGA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BBR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BBG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BBB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BBA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BAR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 BAG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BAB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 BAA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ARR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ARG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ARB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ARA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 AGR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AGG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 AGB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AGA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ABR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Bool3 ABG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ABB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 ABA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAR => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAG => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAB => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Bool3 AAA => throw new InvalidExecutionContextException($"{nameof(Bool4)}.{nameof(AAA)}"); + /// /// Gets a readonly reference to the value with the components , , , . /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double2.g.cs b/src/ComputeSharp.Core/Primitives/Double/Double2.g.cs index 438c7697..1613c8ce 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double2.g.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double2.g.cs @@ -30,14 +30,14 @@ namespace ComputeSharp public ref double Y => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(Y)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the Z component. /// - public ref double R => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(R)}"); + public ref double Z => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the G component. + /// Gets a reference to the value representing the W component. /// - public ref double G => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(G)}"); + public ref double W => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -49,6 +49,16 @@ namespace ComputeSharp /// public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -59,6 +69,76 @@ namespace ComputeSharp /// public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 YW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(YW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 ZW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WX => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WY => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WZ => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(WW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref double R => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref double G => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref double B => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref double A => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(A)}"); + /// /// Gets a readonly reference to the value with the components , . /// @@ -69,6 +149,16 @@ namespace ComputeSharp /// public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(RA)}"); + /// /// Gets a reference to the value with the components , . /// @@ -79,6 +169,56 @@ namespace ComputeSharp /// public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AR => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AG => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AB => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{nameof(Double2)}.{nameof(AA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double3.g.cs b/src/ComputeSharp.Core/Primitives/Double/Double3.g.cs index 624a8823..66ed53fe 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double3.g.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double3.g.cs @@ -38,19 +38,9 @@ namespace ComputeSharp public ref double Z => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the W component. /// - public ref double R => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref double G => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref double B => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(B)}"); + public ref double W => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -62,6 +52,16 @@ namespace ComputeSharp /// public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -73,24 +73,54 @@ namespace ComputeSharp public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}"); + public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}"); + public ref Double2 YW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}"); + public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}"); + public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 ZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -107,6 +137,11 @@ namespace ComputeSharp /// public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -122,6 +157,11 @@ namespace ComputeSharp /// public ref Double3 XYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -137,6 +177,31 @@ namespace ComputeSharp /// public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -152,6 +217,11 @@ namespace ComputeSharp /// public ref Double3 YXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -167,6 +237,11 @@ namespace ComputeSharp /// public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -182,6 +257,31 @@ namespace ComputeSharp /// public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -197,6 +297,11 @@ namespace ComputeSharp /// public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -212,6 +317,11 @@ namespace ComputeSharp /// public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -227,6 +337,211 @@ namespace ComputeSharp /// public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ZZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ZWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ZWW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WXX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WXY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WXZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WXW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WXW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WYX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WYY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WYZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WYW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WYW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WZX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 WZY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WZZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WZW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WWX => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WWY => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WWZ => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 WWW => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(WWW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref double R => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref double G => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref double B => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref double A => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -242,6 +557,11 @@ namespace ComputeSharp /// public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -257,6 +577,11 @@ namespace ComputeSharp /// public ref Double3 RGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -272,6 +597,31 @@ namespace ComputeSharp /// public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(RAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -287,6 +637,11 @@ namespace ComputeSharp /// public ref Double3 GRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -302,6 +657,11 @@ namespace ComputeSharp /// public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GGA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -317,6 +677,31 @@ namespace ComputeSharp /// public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(GAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -332,6 +717,11 @@ namespace ComputeSharp /// public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BRA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BRA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -347,6 +737,11 @@ namespace ComputeSharp /// public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -362,6 +757,111 @@ namespace ComputeSharp /// public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BBA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ARR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ARG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ARB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ARA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 AGR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AGG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 AGB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AGA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ABR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ABG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ABB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ABA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAR => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAG => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAB => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAA => throw new InvalidExecutionContextException($"{nameof(Double3)}.{nameof(AAA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Double/Double4.g.cs b/src/ComputeSharp.Core/Primitives/Double/Double4.g.cs index 255f979e..d0f3b2b2 100644 --- a/src/ComputeSharp.Core/Primitives/Double/Double4.g.cs +++ b/src/ComputeSharp.Core/Primitives/Double/Double4.g.cs @@ -45,26 +45,6 @@ namespace ComputeSharp /// public ref double W => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(W)}"); - /// - /// Gets a reference to the value representing the R component. - /// - public ref double R => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref double G => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref double B => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(B)}"); - - /// - /// Gets a reference to the value representing the A component. - /// - public ref double A => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(A)}"); - /// /// Gets a readonly reference to the value with the components , . /// @@ -75,6 +55,16 @@ namespace ComputeSharp /// public ref Double2 XY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 XW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -86,24 +76,54 @@ namespace ComputeSharp public ref readonly Double2 YY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RR)}"); + public ref Double2 YZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RG)}"); + public ref Double2 YW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GR)}"); + public ref Double2 ZX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GG)}"); + public ref Double2 ZY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 ZZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 ZW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 WZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 WW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -120,6 +140,11 @@ namespace ComputeSharp /// public ref readonly Double3 XXZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XXW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -135,6 +160,11 @@ namespace ComputeSharp /// public ref Double3 XYZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XYW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -150,6 +180,31 @@ namespace ComputeSharp /// public ref readonly Double3 XZZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XZW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XWX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XWY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 XWZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 XWW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -165,6 +220,11 @@ namespace ComputeSharp /// public ref Double3 YXZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YXW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -180,6 +240,11 @@ namespace ComputeSharp /// public ref readonly Double3 YYZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YYW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -195,6 +260,31 @@ namespace ComputeSharp /// public ref readonly Double3 YZZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YZW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YWX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YWY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 YWZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 YWW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -210,6 +300,11 @@ namespace ComputeSharp /// public ref readonly Double3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZXW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -225,6 +320,11 @@ namespace ComputeSharp /// public ref readonly Double3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ZYW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -241,139 +341,109 @@ namespace ComputeSharp public ref readonly Double3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRR)}"); + public ref readonly Double3 ZZW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRG)}"); + public ref Double3 ZWX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRB)}"); + public ref Double3 ZWY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZWY)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGR)}"); + public ref readonly Double3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGG)}"); + public ref readonly Double3 ZWW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ZWW)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Double3 RGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGB)}"); + public ref readonly Double3 WXX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WXX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBR)}"); + public ref Double3 WXY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WXY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Double3 RBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBG)}"); + public ref Double3 WXZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WXZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBB)}"); + public ref readonly Double3 WXW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WXW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRR)}"); + public ref Double3 WYX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WYX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRG)}"); + public ref readonly Double3 WYY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WYY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Double3 GRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRB)}"); + public ref Double3 WYZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WYZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGR)}"); + public ref readonly Double3 WYW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WYW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGG)}"); + public ref Double3 WZX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WZX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGB)}"); + public ref Double3 WZY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WZY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Double3 GBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBR)}"); + public ref readonly Double3 WZZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBG)}"); + public ref readonly Double3 WZW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBB)}"); + public ref readonly Double3 WWX => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRR)}"); + public ref readonly Double3 WWY => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WWY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Double3 BRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRG)}"); + public ref readonly Double3 WWZ => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRB)}"); - - /// - /// Gets a reference to the value with the components , , . - /// - public ref Double3 BGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGB)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBB)}"); + public ref readonly Double3 WWW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WWW)}"); /// /// Gets a readonly reference to the value with the components , , , . @@ -1655,6 +1725,426 @@ namespace ComputeSharp /// public ref readonly Double4 WWWW => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(WWWW)}"); + /// + /// Gets a reference to the value representing the R component. + /// + public ref double R => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref double G => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref double B => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref double A => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 RR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 RA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 GG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 GA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 BB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 BA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Double2 AB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Double2 AA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RRA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RGA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RBA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RAR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RAG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 RAB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 RAA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(RAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GRA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GGA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GBA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GAR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GAG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 GAB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 GAA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(GAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BRR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BRG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BRB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BRA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BRA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BGA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BBR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BBG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BBB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BBA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BAR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 BAG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BAB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 BAA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ARR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ARG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ARB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ARA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 AGR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AGG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 AGB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AGA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ABR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Double3 ABG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ABB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 ABA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAR => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAG => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAB => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Double3 AAA => throw new InvalidExecutionContextException($"{nameof(Double4)}.{nameof(AAA)}"); + /// /// Gets a readonly reference to the value with the components , , , . /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float2.g.cs b/src/ComputeSharp.Core/Primitives/Float/Float2.g.cs index ed10f07d..16b5b8a3 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float2.g.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float2.g.cs @@ -30,14 +30,14 @@ namespace ComputeSharp public ref float Y => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(Y)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the Z component. /// - public ref float R => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(R)}"); + public ref float Z => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the G component. + /// Gets a reference to the value representing the W component. /// - public ref float G => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(G)}"); + public ref float W => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -49,6 +49,16 @@ namespace ComputeSharp /// public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -59,6 +69,76 @@ namespace ComputeSharp /// public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 YW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(YW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 ZW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WX => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WY => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WZ => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(WW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref float R => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref float G => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref float B => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref float A => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(A)}"); + /// /// Gets a readonly reference to the value with the components , . /// @@ -69,6 +149,16 @@ namespace ComputeSharp /// public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(RA)}"); + /// /// Gets a reference to the value with the components , . /// @@ -79,6 +169,56 @@ namespace ComputeSharp /// public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AR => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AG => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AB => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{nameof(Float2)}.{nameof(AA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float3.g.cs b/src/ComputeSharp.Core/Primitives/Float/Float3.g.cs index 27480ae0..ba71cb65 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float3.g.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float3.g.cs @@ -38,19 +38,9 @@ namespace ComputeSharp public ref float Z => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the W component. /// - public ref float R => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref float G => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref float B => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(B)}"); + public ref float W => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -62,6 +52,16 @@ namespace ComputeSharp /// public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -73,24 +73,54 @@ namespace ComputeSharp public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}"); + public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}"); + public ref Float2 YW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}"); + public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}"); + public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 ZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -107,6 +137,11 @@ namespace ComputeSharp /// public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -122,6 +157,11 @@ namespace ComputeSharp /// public ref Float3 XYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -137,6 +177,31 @@ namespace ComputeSharp /// public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -152,6 +217,11 @@ namespace ComputeSharp /// public ref Float3 YXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -167,6 +237,11 @@ namespace ComputeSharp /// public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -182,6 +257,31 @@ namespace ComputeSharp /// public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -197,6 +297,11 @@ namespace ComputeSharp /// public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -212,6 +317,11 @@ namespace ComputeSharp /// public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -227,6 +337,211 @@ namespace ComputeSharp /// public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ZZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ZWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ZWW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WXX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WXY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WXZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WXW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WXW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WYX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WYY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WYZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WYW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WYW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WZX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 WZY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WZZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WZW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WWX => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WWY => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WWZ => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 WWW => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(WWW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref float R => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref float G => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref float B => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref float A => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -242,6 +557,11 @@ namespace ComputeSharp /// public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -257,6 +577,11 @@ namespace ComputeSharp /// public ref Float3 RGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -272,6 +597,31 @@ namespace ComputeSharp /// public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(RAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -287,6 +637,11 @@ namespace ComputeSharp /// public ref Float3 GRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -302,6 +657,11 @@ namespace ComputeSharp /// public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GGA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -317,6 +677,31 @@ namespace ComputeSharp /// public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(GAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -332,6 +717,11 @@ namespace ComputeSharp /// public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BRA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BRA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -347,6 +737,11 @@ namespace ComputeSharp /// public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -362,6 +757,111 @@ namespace ComputeSharp /// public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BBA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ARR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ARG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ARB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ARA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 AGR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AGG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 AGB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AGA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ABR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ABG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ABB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ABA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAR => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAG => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAB => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAA => throw new InvalidExecutionContextException($"{nameof(Float3)}.{nameof(AAA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Float/Float4.g.cs b/src/ComputeSharp.Core/Primitives/Float/Float4.g.cs index ba577799..495a9154 100644 --- a/src/ComputeSharp.Core/Primitives/Float/Float4.g.cs +++ b/src/ComputeSharp.Core/Primitives/Float/Float4.g.cs @@ -45,26 +45,6 @@ namespace ComputeSharp /// public ref float W => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(W)}"); - /// - /// Gets a reference to the value representing the R component. - /// - public ref float R => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref float G => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref float B => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(B)}"); - - /// - /// Gets a reference to the value representing the A component. - /// - public ref float A => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(A)}"); - /// /// Gets a readonly reference to the value with the components , . /// @@ -75,6 +55,16 @@ namespace ComputeSharp /// public ref Float2 XY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 XW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -86,24 +76,54 @@ namespace ComputeSharp public ref readonly Float2 YY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RR)}"); + public ref Float2 YZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RG)}"); + public ref Float2 YW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GR)}"); + public ref Float2 ZX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GG)}"); + public ref Float2 ZY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 ZZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 ZW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 WZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 WW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -120,6 +140,11 @@ namespace ComputeSharp /// public ref readonly Float3 XXZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XXW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -135,6 +160,11 @@ namespace ComputeSharp /// public ref Float3 XYZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XYW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -150,6 +180,31 @@ namespace ComputeSharp /// public ref readonly Float3 XZZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XZW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XWX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XWY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 XWZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 XWW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -165,6 +220,11 @@ namespace ComputeSharp /// public ref Float3 YXZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YXW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -180,6 +240,11 @@ namespace ComputeSharp /// public ref readonly Float3 YYZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YYW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -195,6 +260,31 @@ namespace ComputeSharp /// public ref readonly Float3 YZZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YZW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YWX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YWY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 YWZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 YWW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -210,6 +300,11 @@ namespace ComputeSharp /// public ref readonly Float3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZXW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -225,6 +320,11 @@ namespace ComputeSharp /// public ref readonly Float3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ZYW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -241,139 +341,109 @@ namespace ComputeSharp public ref readonly Float3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRR)}"); + public ref readonly Float3 ZZW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRG)}"); + public ref Float3 ZWX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRB)}"); + public ref Float3 ZWY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZWY)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGR)}"); + public ref readonly Float3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGG)}"); + public ref readonly Float3 ZWW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ZWW)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Float3 RGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGB)}"); + public ref readonly Float3 WXX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WXX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBR)}"); + public ref Float3 WXY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WXY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Float3 RBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBG)}"); + public ref Float3 WXZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WXZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBB)}"); + public ref readonly Float3 WXW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WXW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRR)}"); + public ref Float3 WYX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WYX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRG)}"); + public ref readonly Float3 WYY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WYY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Float3 GRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRB)}"); + public ref Float3 WYZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WYZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGR)}"); + public ref readonly Float3 WYW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WYW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGG)}"); + public ref Float3 WZX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WZX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGB)}"); + public ref Float3 WZY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WZY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Float3 GBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBR)}"); + public ref readonly Float3 WZZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBG)}"); + public ref readonly Float3 WZW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBB)}"); + public ref readonly Float3 WWX => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRR)}"); + public ref readonly Float3 WWY => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WWY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Float3 BRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRG)}"); + public ref readonly Float3 WWZ => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRB)}"); - - /// - /// Gets a reference to the value with the components , , . - /// - public ref Float3 BGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGB)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBB)}"); + public ref readonly Float3 WWW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WWW)}"); /// /// Gets a readonly reference to the value with the components , , , . @@ -1655,6 +1725,426 @@ namespace ComputeSharp /// public ref readonly Float4 WWWW => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(WWWW)}"); + /// + /// Gets a reference to the value representing the R component. + /// + public ref float R => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref float G => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref float B => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref float A => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 RR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 RA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 GG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 GA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 BB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 BA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Float2 AB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Float2 AA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RRA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RGA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RBA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RAR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RAG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 RAB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 RAA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(RAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GRA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GGA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GBA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GAR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GAG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 GAB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 GAA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(GAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BRR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BRG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BRB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BRA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BRA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BGA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BBR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BBG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BBB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BBA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BAR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 BAG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BAB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 BAA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ARR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ARG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ARB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ARA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 AGR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AGG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 AGB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AGA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ABR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Float3 ABG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ABB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 ABA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAR => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAG => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAB => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Float3 AAA => throw new InvalidExecutionContextException($"{nameof(Float4)}.{nameof(AAA)}"); + /// /// Gets a readonly reference to the value with the components , , , . /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs index 6923bd5d..30fce220 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int2.g.cs @@ -30,14 +30,14 @@ namespace ComputeSharp public ref int Y => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(Y)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the Z component. /// - public ref int R => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}"); + public ref int Z => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the G component. + /// Gets a reference to the value representing the W component. /// - public ref int G => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}"); + public ref int W => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -49,6 +49,16 @@ namespace ComputeSharp /// public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -59,6 +69,76 @@ namespace ComputeSharp /// public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 YW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 ZW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WX => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WZ => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(WW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref int R => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref int G => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref int B => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref int A => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(A)}"); + /// /// Gets a readonly reference to the value with the components , . /// @@ -69,6 +149,16 @@ namespace ComputeSharp /// public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RA)}"); + /// /// Gets a reference to the value with the components , . /// @@ -79,6 +169,56 @@ namespace ComputeSharp /// public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AB => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(AA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs index f5563a84..e8d79566 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int3.g.cs @@ -38,19 +38,9 @@ namespace ComputeSharp public ref int Z => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the W component. /// - public ref int R => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref int G => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref int B => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}"); + public ref int W => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -62,6 +52,16 @@ namespace ComputeSharp /// public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -73,24 +73,54 @@ namespace ComputeSharp public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}"); + public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); + public ref Int2 YW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); + public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}"); + public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 ZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -107,6 +137,11 @@ namespace ComputeSharp /// public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -122,6 +157,11 @@ namespace ComputeSharp /// public ref Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -137,6 +177,31 @@ namespace ComputeSharp /// public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -152,6 +217,11 @@ namespace ComputeSharp /// public ref Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -167,6 +237,11 @@ namespace ComputeSharp /// public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -182,6 +257,31 @@ namespace ComputeSharp /// public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -197,6 +297,11 @@ namespace ComputeSharp /// public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -212,6 +317,11 @@ namespace ComputeSharp /// public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -227,6 +337,211 @@ namespace ComputeSharp /// public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ZZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ZWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZWW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WXW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WXW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WYW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WYW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 WZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WZW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WWX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WWY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WWZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 WWW => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(WWW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref int R => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref int G => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref int B => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref int A => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -242,6 +557,11 @@ namespace ComputeSharp /// public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -257,6 +577,11 @@ namespace ComputeSharp /// public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -272,6 +597,31 @@ namespace ComputeSharp /// public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -287,6 +637,11 @@ namespace ComputeSharp /// public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -302,6 +657,11 @@ namespace ComputeSharp /// public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -317,6 +677,31 @@ namespace ComputeSharp /// public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -332,6 +717,11 @@ namespace ComputeSharp /// public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BRA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -347,6 +737,11 @@ namespace ComputeSharp /// public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -362,6 +757,111 @@ namespace ComputeSharp /// public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BBA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ARR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ARG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ARB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ARA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 AGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 AGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AGA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ABR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ABG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ABB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ABA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAA => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(AAA)}"); + /// /// Negates a value. /// diff --git a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs index 2f53cb8b..3040778b 100644 --- a/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs +++ b/src/ComputeSharp.Core/Primitives/Int/Int4.g.cs @@ -45,26 +45,6 @@ namespace ComputeSharp /// public ref int W => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(W)}"); - /// - /// Gets a reference to the value representing the R component. - /// - public ref int R => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref int G => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref int B => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}"); - - /// - /// Gets a reference to the value representing the A component. - /// - public ref int A => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}"); - /// /// Gets a readonly reference to the value with the components , . /// @@ -75,6 +55,16 @@ namespace ComputeSharp /// public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 XW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -86,24 +76,54 @@ namespace ComputeSharp public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RR)}"); + public ref Int2 YZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RG)}"); + public ref Int2 YW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GR)}"); + public ref Int2 ZX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GG)}"); + public ref Int2 ZY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 ZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 WZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 WW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -120,6 +140,11 @@ namespace ComputeSharp /// public ref readonly Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -135,6 +160,11 @@ namespace ComputeSharp /// public ref Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -150,6 +180,31 @@ namespace ComputeSharp /// public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 XWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 XWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -165,6 +220,11 @@ namespace ComputeSharp /// public ref Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -180,6 +240,11 @@ namespace ComputeSharp /// public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -195,6 +260,31 @@ namespace ComputeSharp /// public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 YWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 YWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -210,6 +300,11 @@ namespace ComputeSharp /// public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -225,6 +320,11 @@ namespace ComputeSharp /// public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ZYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -241,139 +341,109 @@ namespace ComputeSharp public ref readonly Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRR)}"); + public ref readonly Int3 ZZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRG)}"); + public ref Int3 ZWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRB)}"); + public ref Int3 ZWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWY)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGR)}"); + public ref readonly Int3 ZWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGG)}"); + public ref readonly Int3 ZWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ZWW)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGB)}"); + public ref readonly Int3 WXX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBR)}"); + public ref Int3 WXY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Int3 RBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBG)}"); + public ref Int3 WXZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBB)}"); + public ref readonly Int3 WXW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WXW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRR)}"); + public ref Int3 WYX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRG)}"); + public ref readonly Int3 WYY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRB)}"); + public ref Int3 WYZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGR)}"); + public ref readonly Int3 WYW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WYW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGG)}"); + public ref Int3 WZX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGB)}"); + public ref Int3 WZY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Int3 GBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBR)}"); + public ref readonly Int3 WZZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBG)}"); + public ref readonly Int3 WZW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBB)}"); + public ref readonly Int3 WWX => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRR)}"); + public ref readonly Int3 WWY => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref Int3 BRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRG)}"); + public ref readonly Int3 WWZ => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRB)}"); - - /// - /// Gets a reference to the value with the components , , . - /// - public ref Int3 BGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGB)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBB)}"); + public ref readonly Int3 WWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWW)}"); /// /// Gets a readonly reference to the value with the components , , , . @@ -1655,6 +1725,426 @@ namespace ComputeSharp /// public ref readonly Int4 WWWW => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(WWWW)}"); + /// + /// Gets a reference to the value representing the R component. + /// + public ref int R => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref int G => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref int B => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref int A => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 RA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 GA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 BA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref Int2 AB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly Int2 AA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RRA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RBA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 RAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 RAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(RAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GRA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GBA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 GAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 GAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(GAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BRG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BRA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BRA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BBA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 BAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 BAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ARR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ARG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ARB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ARA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 AGR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AGG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 AGB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AGA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ABR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref Int3 ABG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ABB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 ABA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAR => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAG => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAB => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly Int3 AAA => throw new InvalidExecutionContextException($"{nameof(Int4)}.{nameof(AAA)}"); + /// /// Gets a readonly reference to the value with the components , , , . /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs index 367822ad..122daae7 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt2.g.cs @@ -30,14 +30,14 @@ namespace ComputeSharp public ref uint Y => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(Y)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the Z component. /// - public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(R)}"); + public ref uint Z => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the G component. + /// Gets a reference to the value representing the W component. /// - public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(G)}"); + public ref uint W => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -49,6 +49,16 @@ namespace ComputeSharp /// public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -59,6 +69,76 @@ namespace ComputeSharp /// public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 YW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(YW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 ZW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WX => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WY => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WZ => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(WW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(A)}"); + /// /// Gets a readonly reference to the value with the components , . /// @@ -69,6 +149,16 @@ namespace ComputeSharp /// public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(RA)}"); + /// /// Gets a reference to the value with the components , . /// @@ -79,6 +169,56 @@ namespace ComputeSharp /// public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GG)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AR => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AG => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AB => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{nameof(UInt2)}.{nameof(AA)}"); + /// /// Sums two values. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs index 6148b840..fa24d40d 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt3.g.cs @@ -38,19 +38,9 @@ namespace ComputeSharp public ref uint Z => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(Z)}"); /// - /// Gets a reference to the value representing the R component. + /// Gets a reference to the value representing the W component. /// - public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(B)}"); + public ref uint W => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(W)}"); /// /// Gets a readonly reference to the value with the components , . @@ -62,6 +52,16 @@ namespace ComputeSharp /// public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -73,24 +73,54 @@ namespace ComputeSharp public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}"); + public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}"); + public ref UInt2 YW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}"); + public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}"); + public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 ZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -107,6 +137,11 @@ namespace ComputeSharp /// public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -122,6 +157,11 @@ namespace ComputeSharp /// public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -137,6 +177,31 @@ namespace ComputeSharp /// public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -152,6 +217,11 @@ namespace ComputeSharp /// public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -167,6 +237,11 @@ namespace ComputeSharp /// public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -182,6 +257,31 @@ namespace ComputeSharp /// public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -197,6 +297,11 @@ namespace ComputeSharp /// public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -212,6 +317,11 @@ namespace ComputeSharp /// public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -227,6 +337,211 @@ namespace ComputeSharp /// public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ZZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ZWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ZWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ZWW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WXX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WXY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WXZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WXW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WXW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WYX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WYY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WYZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WYW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WYW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WZX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 WZY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WZZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WZW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WWX => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WWY => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWY)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WWZ => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 WWW => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(WWW)}"); + + /// + /// Gets a reference to the value representing the R component. + /// + public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -242,6 +557,11 @@ namespace ComputeSharp /// public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -257,6 +577,11 @@ namespace ComputeSharp /// public ref UInt3 RGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -272,6 +597,31 @@ namespace ComputeSharp /// public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(RAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -287,6 +637,11 @@ namespace ComputeSharp /// public ref UInt3 GRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GRA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -302,6 +657,11 @@ namespace ComputeSharp /// public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GGA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -317,6 +677,31 @@ namespace ComputeSharp /// public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(GAA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -332,6 +717,11 @@ namespace ComputeSharp /// public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BRA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BRA)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -347,6 +737,11 @@ namespace ComputeSharp /// public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGB)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BGA)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -362,6 +757,111 @@ namespace ComputeSharp /// public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBB)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BBA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ARR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ARG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ARB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ARA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 AGR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AGG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 AGB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AGA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ABR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ABG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ABB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ABA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAR => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAG => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAB => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAA => throw new InvalidExecutionContextException($"{nameof(UInt3)}.{nameof(AAA)}"); + /// /// Sums two values. /// diff --git a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs index c2d0d60b..41f20da0 100644 --- a/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs +++ b/src/ComputeSharp.Core/Primitives/UInt/UInt4.g.cs @@ -45,26 +45,6 @@ namespace ComputeSharp /// public ref uint W => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(W)}"); - /// - /// Gets a reference to the value representing the R component. - /// - public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(R)}"); - - /// - /// Gets a reference to the value representing the G component. - /// - public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(G)}"); - - /// - /// Gets a reference to the value representing the B component. - /// - public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(B)}"); - - /// - /// Gets a reference to the value representing the A component. - /// - public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(A)}"); - /// /// Gets a readonly reference to the value with the components , . /// @@ -75,6 +55,16 @@ namespace ComputeSharp /// public ref UInt2 XY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XY)}"); + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 XW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XW)}"); + /// /// Gets a reference to the value with the components , . /// @@ -86,24 +76,54 @@ namespace ComputeSharp public ref readonly UInt2 YY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YY)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RR)}"); + public ref UInt2 YZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YZ)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RG)}"); + public ref UInt2 YW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YW)}"); /// - /// Gets a reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GR)}"); + public ref UInt2 ZX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZX)}"); /// - /// Gets a readonly reference to the value with the components , . + /// Gets a reference to the value with the components , . /// - public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GG)}"); + public ref UInt2 ZY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZY)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 ZZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZZ)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 ZW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZW)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WX)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WY)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 WZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WZ)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 WW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WW)}"); /// /// Gets a readonly reference to the value with the components , , . @@ -120,6 +140,11 @@ namespace ComputeSharp /// public ref readonly UInt3 XXZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XXZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XXW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -135,6 +160,11 @@ namespace ComputeSharp /// public ref UInt3 XYZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XYW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -150,6 +180,31 @@ namespace ComputeSharp /// public ref readonly UInt3 XZZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XZW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XZW)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XWX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XWX)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XWY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 XWZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 XWW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(XWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -165,6 +220,11 @@ namespace ComputeSharp /// public ref UInt3 YXZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YXW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YXW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -180,6 +240,11 @@ namespace ComputeSharp /// public ref readonly UInt3 YYZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YYZ)}"); + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YYW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YYW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -195,6 +260,31 @@ namespace ComputeSharp /// public ref readonly UInt3 YZZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YZZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YZW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YZW)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YWX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YWX)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YWY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YWY)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 YWZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YWZ)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 YWW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(YWW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -210,6 +300,11 @@ namespace ComputeSharp /// public ref readonly UInt3 ZXZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZXZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZXW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZXW)}"); + /// /// Gets a reference to the value with the components , , . /// @@ -225,6 +320,11 @@ namespace ComputeSharp /// public ref readonly UInt3 ZYZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZYZ)}"); + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ZYW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZYW)}"); + /// /// Gets a readonly reference to the value with the components , , . /// @@ -241,139 +341,109 @@ namespace ComputeSharp public ref readonly UInt3 ZZZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRR)}"); + public ref readonly UInt3 ZZW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRG)}"); + public ref UInt3 ZWX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRB)}"); + public ref UInt3 ZWY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZWY)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGR)}"); + public ref readonly UInt3 ZWZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGG)}"); + public ref readonly UInt3 ZWW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ZWW)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref UInt3 RGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGB)}"); + public ref readonly UInt3 WXX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WXX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBR)}"); + public ref UInt3 WXY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WXY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref UInt3 RBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBG)}"); + public ref UInt3 WXZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WXZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBB)}"); + public ref readonly UInt3 WXW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WXW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRR)}"); + public ref UInt3 WYX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WYX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRG)}"); + public ref readonly UInt3 WYY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WYY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref UInt3 GRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRB)}"); + public ref UInt3 WYZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WYZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGR)}"); + public ref readonly UInt3 WYW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WYW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGG)}"); + public ref UInt3 WZX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WZX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a reference to the value with the components , , . /// - public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGB)}"); + public ref UInt3 WZY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WZY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref UInt3 GBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBR)}"); + public ref readonly UInt3 WZZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WZZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBG)}"); + public ref readonly UInt3 WZW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WZW)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBB)}"); + public ref readonly UInt3 WWX => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WWX)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRR)}"); + public ref readonly UInt3 WWY => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WWY)}"); /// - /// Gets a reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref UInt3 BRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRG)}"); + public ref readonly UInt3 WWZ => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WWZ)}"); /// - /// Gets a readonly reference to the value with the components , , . + /// Gets a readonly reference to the value with the components , , . /// - public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRB)}"); - - /// - /// Gets a reference to the value with the components , , . - /// - public ref UInt3 BGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGB)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBR)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBG)}"); - - /// - /// Gets a readonly reference to the value with the components , , . - /// - public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBB)}"); + public ref readonly UInt3 WWW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WWW)}"); /// /// Gets a readonly reference to the value with the components , , , . @@ -1655,6 +1725,426 @@ namespace ComputeSharp /// public ref readonly UInt4 WWWW => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(WWWW)}"); + /// + /// Gets a reference to the value representing the R component. + /// + public ref uint R => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(R)}"); + + /// + /// Gets a reference to the value representing the G component. + /// + public ref uint G => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(G)}"); + + /// + /// Gets a reference to the value representing the B component. + /// + public ref uint B => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(B)}"); + + /// + /// Gets a reference to the value representing the A component. + /// + public ref uint A => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(A)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 RR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 RA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GR)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 GG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 GA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BG)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 BB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BB)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 BA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BA)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AR)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AG)}"); + + /// + /// Gets a reference to the value with the components , . + /// + public ref UInt2 AB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AB)}"); + + /// + /// Gets a readonly reference to the value with the components , . + /// + public ref readonly UInt2 AA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RRA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RGA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RBA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RBA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RAR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RAG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 RAB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 RAA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(RAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GRA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GRA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GGA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GBA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GAR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GAG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GAG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 GAB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 GAA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(GAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BRR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BRG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BRB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BRA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BRA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGB)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BGA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BGA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BBR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BBG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BBB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BBA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BBA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BAR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BAR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 BAG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BAB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 BAA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(BAA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ARR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ARR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ARG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ARG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ARB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ARB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ARA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ARA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 AGR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AGR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AGG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AGG)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 AGB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AGB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AGA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AGA)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ABR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ABR)}"); + + /// + /// Gets a reference to the value with the components , , . + /// + public ref UInt3 ABG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ABG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ABB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ABB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 ABA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(ABA)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAR => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AAR)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAG => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AAG)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAB => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AAB)}"); + + /// + /// Gets a readonly reference to the value with the components , , . + /// + public ref readonly UInt3 AAA => throw new InvalidExecutionContextException($"{nameof(UInt4)}.{nameof(AAA)}"); + /// /// Gets a readonly reference to the value with the components , , , . /// diff --git a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude index e41584da..538a24f6 100644 --- a/src/ComputeSharp.Core/Primitives/VectorType.ttinclude +++ b/src/ComputeSharp.Core/Primitives/VectorType.ttinclude @@ -6,17 +6,57 @@ <#@ import namespace="System.Collections.Generic" #> <#@ output extension=".g.cs"#> <# -// Enumerates on all combinations of a given string (with repetition) -IEnumerable EnumerateCombinations(string text) +IEnumerable EnumeratePropertyNames(string source) { - static IEnumerable EnumerateCombinations(string text, int length) + // Creates a comparison for a string based on indices of each character in a key + static int CompareBy(string text, string key) { - if (length == 1) return text.Select(c => c.ToString()); - - return EnumerateCombinations(text, length - 1).SelectMany(s => text, (s1, s2) => s1 + s2); + return text.Select(c => key.IndexOf(c)).Aggregate(0, (r, i) => (r << 4) + i); } - return EnumerateCombinations(text, text.Length); + // Returns all combinations from an input string + static IEnumerable Combinations(string text) + { + if (text.Length > 1) + { + for (int i = text.Length - 1; i >= 0; i--) + { + var characters = text.ToList(); + + characters.RemoveAt(i); + + string substring = string.Join("", characters); + + foreach (var combination in Combinations(substring)) + { + yield return combination; + } + } + } + + yield return text; + } + + // Returns all permutations (with repetition) of a given string + static IEnumerable Permutations(string text) + { + static IEnumerable EnumeratePermutations(string text, int length) + { + if (length == 1) return text.Select(c => c.ToString()); + + return EnumeratePermutations(text, length - 1).SelectMany(s => text, (s1, s2) => s1 + s2); + } + + return EnumeratePermutations(text, text.Length); + } + + return + Combinations(source) + .Distinct() + .SelectMany(Permutations) + .OrderBy(s => s.Length) + .ThenBy(s => CompareBy(s, source)) + .Distinct(); } // Generates all vector access properties for a specified type @@ -61,39 +101,37 @@ namespace ComputeSharp // Generate the combinatorial swizzling properties foreach ( - (string Name, int Length) property in - "XYZW".Substring(0, i).Select(c => (c.ToString(), 1)).Concat( - "RGBA".Substring(0, i).Select(c => (c.ToString(), 1))).Concat( - from j in Enumerable.Range(2, i - 1) + var propertyName in from source in new[] { "XYZW", "RGBA" } - from name in EnumerateCombinations(source.Substring(0, j)) - select (name, j))) + from name in EnumeratePropertyNames(source) + where name.Length <= i + select name) { WriteLine(""); - string propertyType = property.Length == 1 ? hlslElementTypeName : $"{elementTypeName}{property.Length}"; - bool isReadonly = property.Name.Distinct().Count() < property.Name.Length; + string propertyType = propertyName.Length == 1 ? hlslElementTypeName : $"{elementTypeName}{propertyName.Length}"; + bool isReadonly = propertyName.Distinct().Count() < propertyName.Length; string refType = isReadonly ? "ref readonly" : "ref"; // XML docs WriteLine("/// "); - if (property.Length == 1) + if (propertyName.Length == 1) { - WriteLine($"/// Gets a reference to the value representing the {property.Name} component."); + WriteLine($"/// Gets a reference to the value representing the {propertyName} component."); } else { Write("/// Gets a "); if (isReadonly) Write("readonly "); Write($"reference to the value with the components "); - Write(string.Join(", ", property.Name.Select(c => $""))); + Write(string.Join(", ", propertyName.Select(c => $""))); WriteLine("."); } WriteLine("/// "); // Property - Write($"public {refType} {propertyType} {property.Name} "); - WriteLine($"=> throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({property.Name})}}\");"); + Write($"public {refType} {propertyType} {propertyName} "); + WriteLine($"=> throw new InvalidExecutionContextException($\"{{nameof({typeName})}}.{{nameof({propertyName})}}\");"); } PopIndent();