[][src]Trait rendy_factory::DevicesConfigure

pub trait DevicesConfigure {
    fn pick<B>(&self, adapters: &[Adapter<B>]) -> usize
    where
        B: Backend
; }

Devices configuration. Picks physical device to use.

Required methods

fn pick<B>(&self, adapters: &[Adapter<B>]) -> usize where
    B: Backend

Pick adapter from the slice.

Panics

This function may panic if empty slice is provided.

Loading content...

Implementors

impl DevicesConfigure for BasicDevicesConfigure[src]

Loading content...