optimizeCommands(buffer:range:)
Encode a command to attempt to improve the performance of a range of commands within an indirect command buffer.
Declaration
func optimizeCommands(buffer: any MTLIndirectCommandBuffer, range: Range<Int>)Parameters
- buffer:
An Mtlindirectcommandbuffer instance that this command optimizes.
- range:
A range of commands within
indirectCommandBuffer.