Instance Property

outputURL

A URL for a file to write the capture data into.

Declaration

var outputURL: URL? { get set }

Discussion

The default value is nil. If you set destination to MTLCaptureDestination.gpuTraceDocument, you must set this property to where you want the file to be written to.

See Also

Setting Capture Parameters

var captureObject: Any?

The object whose contents should be captured.

Beta
var destination: MTLCaptureDestination

The destination for any captured command data.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software