PGCreateDeviceWithDescriptor

Function PGCreateDeviceWithDescriptor 

Source
pub unsafe extern "C-unwind" fn PGCreateDeviceWithDescriptor(
    descriptor: &PGDeviceDescriptor,
) -> Option<Retained<ProtocolObject<dyn PGDevice>>>
Available on crate feature PGDevice only.
Expand description

Create a new PGDevice implementation object based on the provided descriptor.

Parameter descriptor: The device descriptor for the new device.