Creates a capture scope for commands submitted to a specific device object.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
The device object whose commands you want to capture.
The capture scope captures commands in command buffers created on any command queues created by the device object.