Contents

executeCommands(in:with:)

Encodes an instruction to run commands from an indirect buffer.

Declaration

func executeCommands(in indirectCommandBuffer: any MTLIndirectCommandBuffer, with executionRange: NSRange)

Parameters

  • indirectCommandBuffer:

    The Mtlindirectcommandbuffer instance containing the commands to execute.

  • executionRange:

    The range of commands to execute. The maximum length of the range is 16384 commands.

See Also

Dispatching from indirect command buffers