Contents

makeIOCommandQueue(descriptor:)

Creates an input/output command queue you use to submit commands that load assets from the file system into GPU resources or system memory.

Declaration

func makeIOCommandQueue(descriptor: MTLIOCommandQueueDescriptor) throws -> any MTLIOCommandQueue

Parameters

  • descriptor:

    A descriptor instance that configures the command queue.

Return Value

A new MTLIOCommandQueue instance if the method completes successfully; otherwise Swift throws an error and Objective-C returns nil.

Discussion

For information about using input/output command queues and file handles, see Resource loading.