Luna::RHI::new_device
R< Ref< IDevice > > new_device(IAdapter *adapter)
Creates one device using the specified adapter.
Parameters
-
in adapter
The adapter used for creating the device.
Return value
Returns the created device object.
R< Ref< IDevice > > new_device(IAdapter *adapter)
Creates one device using the specified adapter.
in adapter
The adapter used for creating the device.
Returns the created device object.