Interface MTLCommandQueue


  • public interface MTLCommandQueue
    [@protocol] MTLCommandQueue A serial queue of command buffers to be executed by the device. API-Since: 8.0
    • 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.