Struct ThreadGroupSize¶
Namespace: Apogee.Graphics
Assembly: Apogee.Graphics.dll
The size of a compute shader's thread group, [numthreads(x, y, z)]. Vulkan pipelines have it inside; a Metal dispatch has to be told.
public readonly record struct ThreadGroupSize : IEquatable<ThreadGroupSize>
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
ThreadGroupSize(uint, uint, uint)¶
The size of a compute shader's thread group, [numthreads(x, y, z)]. Vulkan pipelines have it inside; a Metal dispatch has to be told.
public ThreadGroupSize(uint X, uint Y, uint Z)
Parameters¶
X uint
Y uint
Z uint
Properties¶
X¶
public uint X { get; init; }
Property Value¶
Y¶
public uint Y { get; init; }
Property Value¶
Z¶
public uint Z { get; init; }