The device from which this command buffer was created.
Required.
SDKs
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Metal
Declaration
@property(readonly) id<MTLDevice> device;
Discussion
The command buffer can only be used with this device.