MTLIndirectCommandBuffer
A command buffer containing reusable commands, encoded either on the CPU or GPU.
Declaration
protocol MTLIndirectCommandBuffer : MTLResourceMentioned in
Overview
Use an indirect command buffer to encode commands once and reuse them, and to encode commands on multiple CPU or GPU threads.
Don’t implement this protocol yourself; instead, create an MTLIndirectCommandBufferDescriptor instance, configure its properties, and tell the MTLDevice to create the indirect command buffer. See Creating an indirect command buffer.
Topics
Determining the maximum number of commands
Retrieving commands
Resetting commands
Instance Properties
See Also
Indirect command buffers
Creating an indirect command bufferSpecifying drawing and dispatch arguments indirectlyEncoding indirect command buffers on the CPUEncoding indirect command buffers on the GPUMTLIndirectCommandBufferDescriptorMTLIndirectCommandTypeMTLIndirectCommandBufferExecutionRangeMTLIndirectCommandBufferExecutionRangeMake(_:_:)