Describes a compute function's description.
More...
#include <shaderFunctionDesc.h>
Describes a compute function's description.
-
localSize: Optional. Specifices the 3D size of the local thread grouping. Defaults to 0, meaning it is not set. When x > 0, y and z must also be set > 0. When localSize is set to > 0, the following source is generated: GLSL: layout(local_size_x = localSize[0], local_size_y = localSize[1], local_size_z = localSize[2]) in; MSL: [[max_total_threads_per_threadgroup(localSize[0] *
localSize[1] * localSize[w])]]
Definition at line 269 of file shaderFunctionDesc.h.
◆ localSize
The documentation for this struct was generated from the following file: