device
The device object the view uses to create its Metal objects.
Declaration
var device: (any MTLDevice)? { get set }Discussion
The default value is nil. You must explicitly set the device object.
The device object the view uses to create its Metal objects.
var device: (any MTLDevice)? { get set }The default value is nil. You must explicitly set the device object.