PGCreateDeviceWithDescriptor(_:)
Declaration
func PGCreateDeviceWithDescriptor(_ descriptor: PGDeviceDescriptor) -> (any PGDevice)?Parameters
- descriptor:
The device descriptor for the new device.
Discussion
Create a new PGDevice implementation object based on the provided descriptor.