using ComputeSharp.Exceptions; namespace ComputeSharp { /// public partial struct Int3 { /// /// Gets a reference to a specific component in the current instance. /// /// The index of the component to access. public ref int this[int i] => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]"); /// /// Gets a readonly reference to the value with the components , . /// public ref readonly Int2 XX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}"); /// /// Gets a reference to the value with the components , . /// public ref Int2 XY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}"); /// /// Gets a reference to the value with the components , . /// public ref Int2 YX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}"); /// /// Gets a readonly reference to the value with the components , . /// public ref readonly Int2 YY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}"); /// /// 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 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 readonly reference to the value with the components , , . /// public ref readonly Int3 XXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 XXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}"); /// /// Gets a readonly reference to the value with the components , , . /// 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 XYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 XYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 XZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 XZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 YZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 ZXY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 ZYX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}"); /// /// Gets a readonly reference to the value with the components , , . /// 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 RRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 RRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}"); /// /// Gets a readonly reference to the value with the components , , . /// 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 RGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 RGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 RGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 RBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 RBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 RBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 GRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 GBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 GBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BRR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 BRG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BRB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}"); /// /// Gets a reference to the value with the components , , . /// public ref Int3 BGR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BGG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BGB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BBR => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BBG => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}"); /// /// Gets a readonly reference to the value with the components , , . /// public ref readonly Int3 BBB => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBB)}"); /// /// Negates a value. /// /// The value to negate. public static Int3 operator -(Int3 xyz) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-"); /// /// Sums two values. /// /// The first value to sum. /// The second value to sum. public static Int3 operator +(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.+"); /// /// Divides two values. /// /// The first value to divide. /// The second value to divide. public static Int3 operator /(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}./"); /// /// Multiplies two values. /// /// The first value to multiply. /// The second value to multiply. public static Int3 operator *(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.*"); /// /// Subtracts two values. /// /// The first value to subtract. /// The second value to subtract. public static Int3 operator -(Int3 left, Int3 right) => throw new InvalidExecutionContextException($"{nameof(Int3)}.-"); } }