Structure

MTLIndirectCommandBufferExecutionRange

A range of commands in an indirect command buffer.

Declaration

struct MTLIndirectCommandBufferExecutionRange

Topics

Creating a Command Execution Range

init()

Initializes an empty command execution range.

init(location: UInt32, length: UInt32)

Initializes an command execution range.

Examining the Range

var location: UInt32

The first index in the command execution range.

var length: UInt32

The number of items in the command execution range.

See Also

Essentials

Creating an Indirect Command Buffer

Configure a descriptor to specify the properties of an indirect command buffer.

protocol MTLIndirectCommandBuffer

A command buffer containing reusable commands, encoded either on the CPU or GPU.

protocol MTLIndirectRenderCommand

A render command in an indirect command buffer.

protocol MTLIndirectComputeCommand

A compute command in an indirect command buffer.