Interface MTLCommandQueue


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