executeCommandsInBuffer:withRange:
Encodes an instruction to run commands from an indirect buffer.
Declaration
- (void) executeCommandsInBuffer:(id<MTLIndirectCommandBuffer>) indirectCommandBuffer withRange:(NSRange) executionRange;Parameters
- indirectCommandBuffer:
The Mtlindirectcommandbuffer instance containing the commands to execute.
- executionRange:
The range of commands to execute. The maximum length of the range is
16384commands.