A command buffer containing reusable commands, encoded either on the CPU or GPU.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
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 a
MTLIndirect object, configure its properties, and tell the
MTLDevice to create the indirect command buffer. See Creating an Indirect Command Buffer.