Function bevy::render::renderer::initialize_renderer
source · pub async fn initialize_renderer(
instance: &Instance,
options: &WgpuSettings,
request_adapter_options: &RequestAdapterOptions<&Surface<'_>>
) -> (RenderDevice, RenderQueue, RenderAdapterInfo, RenderAdapter)
Expand description
Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.