objectThreadgroupSizeIsMultipleOfThreadExecutionWidth
Provides a guarantee to Metal regarding the number of threadgroup threads for the object stage of a pipeline you create from this descriptor.
Declaration
var objectThreadgroupSizeIsMultipleOfThreadExecutionWidth: 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 object stage is a multiple of its objectThreadExecutionWidth. The compiler’s optimizer can use this guarantee to generate more efficient code.
This property’s default value is false.