Package apple.metal.protocol
Interface MTLCaptureScope
-
public interface MTLCaptureScopeAPI-Since: 11.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbeginScope()Marks the begin of the capture scope.@Nullable MTLCommandQueuecommandQueue()If set, this scope will only capture Metal commands from the associated command queue.@NotNull MTLDevicedevice()Associated device: this scope will capture Metal commands from the associated devicevoidendScope()Marks the end of the capture scope.@Nullable 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(@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
-
-