pub trait AdapterExt {
    // Required method
    fn create_renderer<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        self,
        instance: &'life0 Instance,
        window: &'life1 Arc<Window>,
        device_descriptor: &'life2 DeviceDescriptor<'_>,
        trace_path: Option<&'life3 Path>,
        present_mode: PresentMode
    ) -> Pin<Box<dyn Future<Output = Result<GpuRenderer, GraphicsError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

source

fn create_renderer<'life0, 'life1, 'life2, 'life3, 'async_trait>( self, instance: &'life0 Instance, window: &'life1 Arc<Window>, device_descriptor: &'life2 DeviceDescriptor<'_>, trace_path: Option<&'life3 Path>, present_mode: PresentMode ) -> Pin<Box<dyn Future<Output = Result<GpuRenderer, GraphicsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementations on Foreign Types§

source§

impl AdapterExt for Adapter

source§

fn create_renderer<'life0, 'life1, 'life2, 'life3, 'async_trait>( self, instance: &'life0 Instance, window: &'life1 Arc<Window>, device_descriptor: &'life2 DeviceDescriptor<'_>, trace_path: Option<&'life3 Path>, present_mode: PresentMode ) -> Pin<Box<dyn Future<Output = Result<GpuRenderer, GraphicsError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§