MTLCommandQueue

An instance you use to create, submit, and schedule command buffers to a specific GPU device to run the commands within those buffers.

Members

Functions

commandBuffer
MTLCommandBuffer commandBuffer(MTLCommandBufferDescriptor* descriptor)

Returns a command buffer from the command queue that you configure with a descriptor.

commandBuffer
MTLCommandBuffer commandBuffer()

Returns a command buffer from the command queue that maintains strong references to resources.

commandBufferWithUnretainedReferences
MTLCommandBuffer commandBufferWithUnretainedReferences()

Returns a command buffer from the command queue that doesn’t maintain strong references to resources.

label
NSString label()

An optional name that can help you identify the command queue.

label
NSString label(NSString )
Undocumented in source.

Meta