Contents

MTLIndirectCommandBuffer

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

Declaration

protocol MTLIndirectCommandBuffer : MTLResource

Mentioned in

Overview

Use an indirect command buffer to encode commands once and reuse them, and to encode commands on multiple CPU or GPU threads.

Don’t implement this protocol yourself; instead, create an MTLIndirectCommandBufferDescriptor instance, configure its properties, and tell the MTLDevice to create the indirect command buffer. See Creating an indirect command buffer.

Topics

Determining the maximum number of commands

Retrieving commands

Resetting commands

Instance Properties

See Also

Indirect command buffers