Function bevy::render::renderer::initialize_renderer
[−]pub async fn initialize_renderer(
instance: &'_ Instance,
options: &'_ mut WgpuOptions,
request_adapter_options: &'_ RequestAdapterOptions<&'_ Surface>
) -> (RenderDevice, Arc<Queue>)
Expand description
Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.