Function PhysicalDevice.open

Open a logical device with the specified queues.

abstract Device open (
  in const(QueueRequest[]) queues,
  in const(DeviceFeatures) features = all()
);

Returns

null if it can't meet all requested queues, the opened device otherwise.