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