Trait DevicesConfigure
rendy_factory
pub trait DevicesConfigure { fn pick<B>(&self, adapters: &[Adapter<B>]) -> usize where B: Backend; }
Devices configuration. Picks physical device to use.
fn pick<B>(&self, adapters: &[Adapter<B>]) -> usize where B: Backend,
Pick adapter from the slice.
This function may panic if empty slice is provided.
impl DevicesConfigure for BasicDevicesConfigure