Contents

meshThreadExecutionWidth

The number of threads the render pass applies to a SIMD group for a mesh shader.

Declaration

var meshThreadExecutionWidth: Int { get }

Discussion

You can access the value of this property in your shader code by adding an integer parameter with the [[threads_per_simdgroup]] attribute. For more information about this attribute, see the Metal Shading Language Specification (PDF).

See Also

Checking mesh shader memory requirements