using ComputeSharp.Exceptions; namespace ComputeSharp { /// public partial struct Int3 { /// /// Gets or sets a specific component in the current instance. /// /// The index of the component to access. public ref int this[int i] { get => throw new InvalidExecutionContextException($"{nameof(Int3)}[int]"); } /// /// Gets a value with the values , . /// public Int2 XX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XX)}"); } /// /// Gets or sets a value with the values , . /// public Int2 XY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XY)}"); } /// /// Gets or sets a value with the values , . /// public Int2 YX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YX)}"); } /// /// Gets a value with the values , . /// public Int2 YY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YY)}"); } /// /// Gets a value with the values , . /// public Int2 RR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RR)}"); } /// /// Gets or sets a value with the values , . /// public Int2 RG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RG)}"); } /// /// Gets or sets a value with the values , . /// public Int2 GR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GR)}"); } /// /// Gets a value with the values , . /// public Int2 GG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GG)}"); } /// /// Gets a value with the values , , . /// public Int3 XXX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXX)}"); } /// /// Gets a value with the values , , . /// public Int3 XXY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXY)}"); } /// /// Gets a value with the values , , . /// public Int3 XXZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XXZ)}"); } /// /// Gets a value with the values , , . /// public Int3 XYX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYX)}"); } /// /// Gets a value with the values , , . /// public Int3 XYY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYY)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 XYZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XYZ)}"); } /// /// Gets a value with the values , , . /// public Int3 XZX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZX)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 XZY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZY)}"); } /// /// Gets a value with the values , , . /// public Int3 XZZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(XZZ)}"); } /// /// Gets a value with the values , , . /// public Int3 YXX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXX)}"); } /// /// Gets a value with the values , , . /// public Int3 YXY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXY)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 YXZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YXZ)}"); } /// /// Gets a value with the values , , . /// public Int3 YYX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYX)}"); } /// /// Gets a value with the values , , . /// public Int3 YYY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYY)}"); } /// /// Gets a value with the values , , . /// public Int3 YYZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YYZ)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 YZX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZX)}"); } /// /// Gets a value with the values , , . /// public Int3 YZY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZY)}"); } /// /// Gets a value with the values , , . /// public Int3 YZZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(YZZ)}"); } /// /// Gets a value with the values , , . /// public Int3 ZXX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXX)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 ZXY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXY)}"); } /// /// Gets a value with the values , , . /// public Int3 ZXZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZXZ)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 ZYX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYX)}"); } /// /// Gets a value with the values , , . /// public Int3 ZYY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYY)}"); } /// /// Gets a value with the values , , . /// public Int3 ZYZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZYZ)}"); } /// /// Gets a value with the values , , . /// public Int3 ZZX { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZX)}"); } /// /// Gets a value with the values , , . /// public Int3 ZZY { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZY)}"); } /// /// Gets a value with the values , , . /// public Int3 ZZZ { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(ZZZ)}"); } /// /// Gets a value with the values , , . /// public Int3 RRR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRR)}"); } /// /// Gets a value with the values , , . /// public Int3 RRG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRG)}"); } /// /// Gets a value with the values , , . /// public Int3 RRB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RRB)}"); } /// /// Gets a value with the values , , . /// public Int3 RGR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGR)}"); } /// /// Gets a value with the values , , . /// public Int3 RGG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGG)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 RGB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RGB)}"); } /// /// Gets a value with the values , , . /// public Int3 RBR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBR)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 RBG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBG)}"); } /// /// Gets a value with the values , , . /// public Int3 RBB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(RBB)}"); } /// /// Gets a value with the values , , . /// public Int3 GRR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRR)}"); } /// /// Gets a value with the values , , . /// public Int3 GRG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRG)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 GRB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GRB)}"); } /// /// Gets a value with the values , , . /// public Int3 GGR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGR)}"); } /// /// Gets a value with the values , , . /// public Int3 GGG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGG)}"); } /// /// Gets a value with the values , , . /// public Int3 GGB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GGB)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 GBR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBR)}"); } /// /// Gets a value with the values , , . /// public Int3 GBG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBG)}"); } /// /// Gets a value with the values , , . /// public Int3 GBB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(GBB)}"); } /// /// Gets a value with the values , , . /// public Int3 BRR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRR)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 BRG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRG)}"); } /// /// Gets a value with the values , , . /// public Int3 BRB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BRB)}"); } /// /// Gets or sets a value with the values , , . /// public Int3 BGR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}"); set => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGR)}"); } /// /// Gets a value with the values , , . /// public Int3 BGG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGG)}"); } /// /// Gets a value with the values , , . /// public Int3 BGB { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BGB)}"); } /// /// Gets a value with the values , , . /// public Int3 BBR { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBR)}"); } /// /// Gets a value with the values , , . /// public Int3 BBG { get => throw new InvalidExecutionContextException($"{nameof(Int3)}.{nameof(BBG)}"); } /// /// Gets a value with the values , , . /// public Int3 BBB { get => 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)}.-"); } }