Contents

startCapture(with:)

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

Declaration

func startCapture(with descriptor: MTLCaptureDescriptor) throws

Parameters

  • descriptor:

    A description of the capture session to create.

See Also

Starting capture