Contents

indirectRenderCommandAt(_:)

Gets the render command at the given index.

Declaration

func indirectRenderCommandAt(_ commandIndex: Int) -> any MTLIndirectRenderCommand

Parameters

  • commandIndex:

    The index of the command to retrieve.

Discussion

Call this method only if the indirect command buffer contains rendering commands.

See Also

Retrieving commands