Instance Method

resetCommandsInBuffer(_:range:)

Encodes a command to reset a range of commands in an indirect command buffer.

Declaration

func resetCommandsInBuffer(_ buffer: MTLIndirectCommandBuffer, range: Range<Int>)

Parameters

buffer

An indirect command buffer.

range

The range of commands whose contents should be reset.

See Also

Working with Indirect Command Buffers

func copyIndirectCommandBuffer(MTLIndirectCommandBuffer, sourceRange: Range<Int>, destination: MTLIndirectCommandBuffer, destinationIndex: Int)

Encodes a command to copy commands from an indirect command buffer into another indirect command buffer.

func optimizeIndirectCommandBuffer(MTLIndirectCommandBuffer, range: Range<Int>)

Encodes a command to optimize a range in the indirect command buffer to improve performance.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software