Instance Property

computeFunction

The compute function to be compiled into the pipeline state object.

Declaration

@property(readwrite, nonatomic, strong) id<MTLFunction> computeFunction;

Discussion

The default value is nil. You must always specify a compute function.

See Also

Specifying the Compute Function and Associated Data

threadGroupSizeIsMultipleOfThreadExecutionWidth

A Boolean that indicates whether the threadgroup size must always be a multiple of the thread execution width.

maxTotalThreadsPerThreadgroup

The maximum number of threads allowed for a threadgroup dispatched to the compute function.