Function wgpu::util::initialize_adapter_from_env

source ·
pub fn initialize_adapter_from_env(
    _instance: &Instance,
    _compatible_surface: Option<&Surface<'_>>
) -> Option<Adapter>
Available on non-native only.
Expand description

Initialize the adapter obeying the WGPU_ADAPTER_NAME environment variable.