executeCommands(buffer:range:)
Encodes a command to execute commands from an indirect command buffer.
Declaration
func executeCommands(buffer: any MTLIndirectCommandBuffer, range: Range<Int>)Parameters
- buffer:
An Mtlindirectcommandbuffer instance that contains other commands the current command runs.
- range:
A span of integers that represent the command entries in buffer the current command runs. The number of commands needs to be less than or equal to
16,384.