Enumeration

MTLDispatchType

Constants indicating how the compute command encoder's commands are dispatched.

Declaration

typedef enum MTLDispatchType : NSUInteger {
    ...
} MTLDispatchType;

Topics

Command Execution Options

MTLDispatchTypeConcurrent

Commands may be executed concurrently.

MTLDispatchTypeSerial

Commands are executed sequentially.

See Also

Creating Command Encoders

- renderCommandEncoderWithDescriptor:

Creates an object to encode a rendering pass into the command buffer.

Required.

- parallelRenderCommandEncoderWithDescriptor:

Creates an object that can split the work of encoding commands for a single render pass.

Required.

- computeCommandEncoderWithDispatchType:

Creates an object to encode a compute pass into the command buffer.

Required.

- computeCommandEncoder

Creates an object to encode a sequential compute pass into the command buffer.

Required.

- blitCommandEncoder

Creates an object to encode a block information transfer (blit) pass into the command buffer.

Required.