dispatchType
The dispatch type to use when submitting compute work to the GPU.
Declaration
var dispatchType: MTLDispatchType { get }Discussion
You set this property when you create the command encoder, and it doesn’t change for the remainder of the encoding.
See makeComputeCommandEncoder(dispatchType:) for more information.