executeCommandsInBuffer:withRange:
Encodes a command that runs a range of commands from an indirect command buffer (ICB).
Declaration
- (void) executeCommandsInBuffer:(id<MTLIndirectCommandBuffer>) indirectCommandBuffer withRange:(NSRange) executionRange;Parameters
- indirectCommandBuffer:
An Mtlindirectcommandbuffer instance that contains other commands the current command runs.
- executionRange:
A span of integers that represent the command entries in
bufferthe current command runs. The number of commands needs to be less than or equal to0x4000(16,384).