Interface MTLCaptureScope


  • public interface MTLCaptureScope
    API-Since: 11.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void beginScope()
      Marks the begin of the capture scope.
      @Nullable MTLCommandQueue commandQueue()
      If set, this scope will only capture Metal commands from the associated command queue.
      @NotNull MTLDevice device()
      Associated device: this scope will capture Metal commands from the associated device
      void endScope()
      Marks the end of the capture scope.
      @Nullable 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​(@Nullable 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

        @Nullable
        @Nullable 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

        @NotNull
        @NotNull 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

        @Nullable
        @Nullable 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​(@Nullable
                      @Nullable 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