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) throwsParameters
- descriptor:
A description of the capture session to create.