Instance Method

startCapture(scope:)

Starts capturing any of your app’s Metal commands that are in the specified capture scope.

Declaration

func startCapture(scope captureScope: MTLCaptureScope)

Parameters

captureScope

The capture scope to use.

See Also

Starting Capture

func startCapture(with: MTLCaptureDescriptor)

Starts capturing any of your app’s Metal commands, with the capture session defined by a descriptor object.

func startCapture(device: MTLDevice)

Starts capturing any of your app’s Metal commands that are executed by the device object.

Deprecated
func startCapture(commandQueue: MTLCommandQueue)

Starts capturing any of your app’s Metal commands that are executed by the command queue.

Deprecated