Capturing Metal Commands Programmatically
Invoke Metal’s frame capture from your app, then save the resulting GPU trace to a file or view it in Xcode.
- macOS 10.15+Beta
- Xcode 11.0+Beta
Configure the Sample Code Project
Capturing a Frame Programmatically
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