Package apple.metal.protocol
Interface MTLCommandQueue
-
public interface MTLCommandQueue[@protocol] MTLCommandQueue A serial queue of command buffers to be executed by the device.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MTLCommandBuffercommandBuffer()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.MTLCommandBuffercommandBufferWithDescriptor(MTLCommandBufferDescriptor descriptor)commandBufferWithDescriptor Returns a new autoreleased command buffer used to encode work into this queue.MTLCommandBuffercommandBufferWithUnretainedReferences()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.MTLDevicedevice()The device this queue will submit tovoidinsertDebugCaptureBoundary()insertDebugCaptureBoundary Inform Xcode about when debug capture should start and stop.java.lang.Stringlabel()A string to help identify this objectvoidsetLabel(java.lang.String value)A string to help identify this object
-
-
-
Method Detail
-
commandBuffer
MTLCommandBuffer commandBuffer()
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.
-
commandBufferWithUnretainedReferences
MTLCommandBuffer commandBufferWithUnretainedReferences()
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.
-
device
MTLDevice device()
The device this queue will submit to
-
insertDebugCaptureBoundary
void insertDebugCaptureBoundary()
insertDebugCaptureBoundary Inform Xcode about when debug capture should start and stop.
-
label
java.lang.String label()
A string to help identify this object
-
setLabel
void setLabel(java.lang.String value)
A string to help identify this object
-
commandBufferWithDescriptor
MTLCommandBuffer commandBufferWithDescriptor(MTLCommandBufferDescriptor descriptor)
commandBufferWithDescriptor Returns a new autoreleased command buffer used to encode work into this queue.- Parameters:
descriptor- The requested properties of the command buffer.
-
-