logo
pub fn initialize_adapter_from_env(
    instance: &Instance,
    backend_bits: Backends
) -> Option<Adapter>
Expand description

Initialize the adapter obeying the WGPU_ADAPTER_NAME environment variable.