Contents

setIndirectCommandBuffer(_:index:)

Encodes a reference to an indirect command buffer into the argument buffer.

Declaration

func setIndirectCommandBuffer(_ indirectCommandBuffer: (any MTLIndirectCommandBuffer)?, index: Int)

Parameters

  • indirectCommandBuffer:

    An indirect command-buffer the method encodes.

  • index:

    The index of an inline, constant-data argument within the argument buffer. The value corresponds to either the index ID of a declaration in Metal Shading Language (MSL) or the Index property of an Mtlargumentdescriptor instance.

See Also

Encoding indirect command buffers