Instance Method

newCommandQueueWithMaxCommandBufferCount:

Creates a command submission queue with a fixed maximum number of uncompleted command buffers.

Required.

Declaration

- (id<MTLCommandQueue>)newCommandQueueWithMaxCommandBufferCount:(NSUInteger)maxCommandBufferCount;

Parameters

maxCommandBufferCount

The maximum number of uncompleted command buffers that may be enqueued.

Return Value

A new command queue object.

Discussion

Command queue objects are always associated with the originating device.

See Also

Creating a Command Queue

- newCommandQueue

Creates a command submission queue.

Required.