Package apple.metal.protocol
Interface MTLCaptureScope
-
public interface MTLCaptureScope
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginScope()Marks the begin of the capture scope.MTLCommandQueuecommandQueue()If set, this scope will only capture Metal commands from the associated command queue.MTLDevicedevice()Associated device: this scope will capture Metal commands from the associated devicevoidendScope()Marks the end of the capture scope.java.lang.Stringlabel()Scope label [@remarks] Created capture scopes are listed in Xcode when long-pressing the capture button, performing the capture over the selected scopevoidsetLabel(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
-
-