Class

MTLIndirectCommandBufferDescriptor

An object that configures new MTLIndirectCommandBuffer objects.

Declaration

@interface MTLIndirectCommandBufferDescriptor : NSObject

Topics

Declaring Command Types to Encode

commandTypes

The set of command types that you can encode into the indirect command buffer.

MTLIndirectCommandType

The types of commands that you can encode into the indirect command buffer.

Declaring Command Inheritance

inheritBuffers

A Boolean value that determines where commands in the indirect command buffer get their buffer arguments from when you execute them.

inheritPipelineState

A Boolean value that determines where commands in the indirect command buffer get their pipeline state from when you execute them.

Declaring the Maximum Number of Argument Buffers Per Command

maxVertexBufferBindCount

The maximum number of argument buffers that you can set per command for the vertex stage.

maxFragmentBufferBindCount

The maximum number of argument buffers that you can set per command for the fragment stage.

maxKernelBufferBindCount

The maximum number of argument buffers that you can set per command for the compute kernel.

Relationships

Inherits From

See Also

Essentials

Creating an Indirect Command Buffer

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

MTLIndirectCommandBuffer

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

MTLIndirectRenderCommand

A render command in an indirect command buffer.

MTLIndirectComputeCommand

A compute command in an indirect command buffer.

MTLIndirectCommandBufferExecutionRange

A range of commands in an indirect command buffer.

MTLIndirectCommandBufferExecutionRangeMake

Creates a command execution range.