Contents

executeCommands(buffer:indirectBuffer:)

Encodes an instruction to execute commands from an indirect command buffer, using an indirect buffer for arguments.

Declaration

func executeCommands(buffer indirectCommandbuffer: any MTLIndirectCommandBuffer, indirectBuffer indirectRangeBuffer: MTLGPUAddress)

Parameters

Discussion

Use an instance of MTLResidencySet to mark residency of the indirect buffer that the indirectRangeBuffer parameter references.

See Also

Encoding indirect command buffers