setIndirectCommandBuffers(_:range:)
Encodes an array of indirect command buffers into the argument buffer.
Declaration
func setIndirectCommandBuffers(_ buffers: [(any MTLIndirectCommandBuffer)?], range: Range<Int>)Parameters
- buffers:
An array of indirect command buffers the method encodes.
- range:
A range of indices within the argument buffer for each element in
buffers. The values correspond to either the index IDs of declarations in Metal Shading Language (MSL) or the Index property of Mtlargumentdescriptor instances.