Function init_api_instance_with_presentation

Source
pub fn init_api_instance_with_presentation<T: HasWindowHandle + HasDisplayHandle>(
    settings: &GraphicsApiInitSettings,
    window: &T,
) -> GraphicsResult<Arc<dyn GraphicsApi>>
Expand description

Creates api instance with presentation support

let graphics = init_api_instance_with_presentation(&self.settings, &window)
    .expect("cannot create entry");