Contents

MTLIOCommandQueue

A command queue that schedules input/output commands for reading files in the file system, and writing to GPU resources and memory.

Declaration

protocol MTLIOCommandQueue : NSObjectProtocol, Sendable

Overview

Use an input/output command queue to submit commands, in command buffers, that load assets from the file system directly into GPU resources. Your app can then use those resources with other commands it submits to an MTLCommandQueue that comes from the same MTLDevice.

You make input/output command queues by creating and configuring an MTLIOCommandQueueDescriptor instance and calling an MTLDevice instance’s makeIOCommandQueue(descriptor:) method.

Topics

Creating a input/output command buffer

Adding a barrier to the queue

Naming the queue

See Also

I/O command queues