diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs index 10c47ebf..ff77fd6b 100644 --- a/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs +++ b/src/ComputeSharp.Shaders/Primitives/Int/Int2.cs @@ -85,5 +85,33 @@ namespace ComputeSharp.Shaders.Primitives.Int /// Gets an value with the value for all components /// public Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(YY)}"); + + /// + /// Gets an value with the value for all components + /// + public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RR)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 RG + { + get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(RG)}"); + } + + /// + /// Gets an value with the and values + /// + public Int2 GR + { + get => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GR)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int2)}.{nameof(GG)}"); } } diff --git a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs index f9e8e16c..cdb62643 100644 --- a/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs +++ b/src/ComputeSharp.Shaders/Primitives/Int/Int3.cs @@ -143,6 +143,75 @@ namespace ComputeSharp.Shaders.Primitives.Int /// public Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZ)}"); + /// + /// Gets an value with the value for all components + /// + public Int2 RR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 RG + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 RB + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RB)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 GR + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 GG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}"); + + /// + /// Gets or sets an value with the and values + /// + public Int2 GB + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GB)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 BR + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BR)}"); + } + + /// + /// Gets or sets an value with the and values + /// + public Int2 BG + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BG)}"); + } + + /// + /// Gets an value with the value for all components + /// + public Int2 BB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BB)}"); + /// /// Gets an value with the value for all components /// @@ -301,5 +370,164 @@ namespace ComputeSharp.Shaders.Primitives.Int /// Gets an value with the value for all components /// public Int2 ZZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}"); + + /// + /// Gets an value with the value for all components + /// + public Int2 RRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 RRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 RRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 RGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 RGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 RGB + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 RBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 RBG + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 GRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 GRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 GRB + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 GGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}"); + + /// + /// Gets an value with the value for all components + /// + public Int2 GGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 GBR + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 GBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 BRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 BRG + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}"); + + /// + /// Gets or sets an value with the , and values + /// + public Int2 BGR + { + get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}"); + set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}"); + } + + /// + /// Gets an value with the , and values + /// + public Int2 BGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 BBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}"); + + /// + /// Gets an value with the , and values + /// + public Int2 BBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}"); + + /// + /// Gets an value with the value for all components + /// + public Int2 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}"); } }