Instance Method

startCapture(commandQueue:)

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

Declaration

func startCapture(commandQueue: MTLCommandQueue)

Parameters

commandQueue

The command queue whose commands you want to capture.

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(scope: MTLCaptureScope)

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

Deprecated