Interface MTLCaptureScope


  • public interface MTLCaptureScope
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beginScope()
      Marks the begin of the capture scope.
      MTLCommandQueue commandQueue()
      If set, this scope will only capture Metal commands from the associated command queue.
      MTLDevice device()
      Associated device: this scope will capture Metal commands from the associated device
      void endScope()
      Marks the end of the capture scope.
      java.lang.String label()
      Scope label [@remarks] Created capture scopes are listed in Xcode when long-pressing the capture button, performing the capture over the selected scope
      void setLabel​(java.lang.String value)
      Scope label [@remarks] Created capture scopes are listed in Xcode when long-pressing the capture button, performing the capture over the selected scope
    • Method Detail

      • beginScope

        void beginScope()
        Marks the begin of the capture scope. Note: This method should be invoked repeatedly per frame.
      • commandQueue

        MTLCommandQueue commandQueue()
        If set, this scope will only capture Metal commands from the associated command queue. Defaults to nil (all command queues from the associated device are captured).
      • device

        MTLDevice device()
        Associated device: this scope will capture Metal commands from the associated device
      • endScope

        void endScope()
        Marks the end of the capture scope. Note: This method should be invoked repeatedly per frame.
      • label

        java.lang.String label()
        Scope label [@remarks] Created capture scopes are listed in Xcode when long-pressing the capture button, performing the capture over the selected scope
      • setLabel

        void setLabel​(java.lang.String value)
        Scope label [@remarks] Created capture scopes are listed in Xcode when long-pressing the capture button, performing the capture over the selected scope