Contents

makeCaptureScope(device:)

Creates a capture scope for commands submitted to a specific device object.

Declaration

func makeCaptureScope(device: any MTLDevice) -> any MTLCaptureScope

Parameters

  • device:

    The device object whose commands you want to capture.

Discussion

The capture scope captures commands in command buffers created on any command queues created by the device object.

See Also

Creating a capture scope