indirectComputeCommandAt(_:)
Gets the compute command at the given index.
Declaration
func indirectComputeCommandAt(_ commandIndex: Int) -> any MTLIndirectComputeCommandParameters
- commandIndex:
The index of the command to retrieve.
Discussion
Call this method only if the indirect command buffer contains compute commands.