using ComputeSharp.Exceptions;
namespace ComputeSharp
{
///
/// A that indicates the ids of a given GPU thread running a compute shader within a dispatch group.
///
public static class GroupIds
{
///
/// Gets the flattened index of the current thread with respect to the dispatch group.
///
public static int Index => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(Index)}");
///
/// Gets the X id of the current thread with respect to the dispatch group.
///
public static int X => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(X)}");
///
/// Gets the Y id of the current thread with respect to the dispatch group.
///
public static int Y => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(Y)}");
///
/// Gets the Z id of the current thread with respect to the dispatch group.
///
public static int Z => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(Z)}");
///
/// Gets an value with the value for all components.
///
public static Int2 XX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XX)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 XY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XY)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 XZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XZ)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 YX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YX)}");
///
/// Gets an value with the value for all components.
///
public static Int2 YY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YY)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 YZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YZ)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 ZX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZX)}");
///
/// Gets or sets an value with the and values.
///
public static Int2 ZY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZY)}");
///
/// Gets an value with the value for all components.
///
public static Int2 ZZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZZ)}");
///
/// Gets an value with the value for all components.
///
public static Int3 XXX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XXX)}");
///
/// Gets an value with the , and values.
///
public static Int3 XXY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XXY)}");
///
/// Gets an value with the , and values.
///
public static Int3 XXZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XXZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 XYX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XYX)}");
///
/// Gets an value with the , and values.
///
public static Int3 XYY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XYY)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 XYZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XYZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 XZX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XZX)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 XZY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XZY)}");
///
/// Gets an value with the , and values.
///
public static Int3 XZZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(XZZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 YXX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YXX)}");
///
/// Gets an value with the , and values.
///
public static Int3 YXY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YXY)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 YXZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YXZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 YYX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YYX)}");
///
/// Gets an value with the value for all components.
///
public static Int3 YYY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YYY)}");
///
/// Gets an value with the , and values.
///
public static Int3 YYZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YYZ)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 YZX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YZX)}");
///
/// Gets an value with the , and values.
///
public static Int3 YZY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YZY)}");
///
/// Gets an value with the , and values.
///
public static Int3 YZZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(YZZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZXX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZXX)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 ZXY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZXY)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZXZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZXZ)}");
///
/// Gets or sets an value with the , and values.
///
public static Int3 ZYX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZYX)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZYY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZYY)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZYZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZYZ)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZZX => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZZX)}");
///
/// Gets an value with the , and values.
///
public static Int3 ZZY => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZZY)}");
///
/// Gets an value with the value for all components.
///
public static Int3 ZZZ => throw new InvalidExecutionContextException($"{nameof(GroupIds)}.{nameof(ZZZ)}");
}
}