Contents

meshThreadgroupSizeIsMultipleOfThreadExecutionWidth

Provides a guarantee to Metal regarding the number of threadgroup threads for the mesh stage of a pipeline you create from this descriptor.

Declaration

var meshThreadgroupSizeIsMultipleOfThreadExecutionWidth: Bool { get set }

Discussion

If you set this property to true, you state to Metal that when you use a mesh render pipeline you create from this descriptor, the number of threadgroup threads you dispatch for the mesh stage is a multiple of its meshThreadExecutionWidth. The compiler’s optimizer can use this guarantee to generate more efficient code.

This property’s default value is false.