public interface MTLCommandQueue
A serial queue of command buffers to be executed by the device.
| Modifier and Type | Method and Description |
|---|---|
MTLCommandBuffer |
commandBuffer()
commandBuffer
|
MTLCommandBuffer |
commandBufferWithDescriptor(MTLCommandBufferDescriptor descriptor)
commandBufferWithDescriptor
|
MTLCommandBuffer |
commandBufferWithUnretainedReferences()
commandBufferWithUnretainedReferences
|
MTLDevice |
device()
The device this queue will submit to
|
void |
insertDebugCaptureBoundary()
insertDebugCaptureBoundary
|
java.lang.String |
label()
A string to help identify this object
|
void |
setLabel(java.lang.String value)
A string to help identify this object
|
MTLCommandBuffer commandBuffer()
Returns a new autoreleased command buffer used to encode work into this queue that maintains strong references to resources used within the command buffer.
MTLCommandBuffer commandBufferWithUnretainedReferences()
Returns a new autoreleased command buffer used to encode work into this queue that does not maintain strong references to resources used within the command buffer.
MTLDevice device()
void insertDebugCaptureBoundary()
Inform Xcode about when debug capture should start and stop.
java.lang.String label()
void setLabel(java.lang.String value)
MTLCommandBuffer commandBufferWithDescriptor(MTLCommandBufferDescriptor descriptor)
Returns a new autoreleased command buffer used to encode work into this queue.
descriptor - The requested properties of the command buffer.