initialize_renderer

Function initialize_renderer 

Source
pub async fn initialize_renderer(
    backends: Backends,
    primary_window: Option<RawHandleWrapperHolder>,
    options: &WgpuSettings,
) -> RenderResources
Expand description

Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.