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