init(_:)
Creates a context targeting the specified Metal device.
Declaration
init(_ device: any MTLDevice) throwsParameters
- device:
The Metal device to target.
Creates a context targeting the specified Metal device.
init(_ device: any MTLDevice) throwsThe Metal device to target.