wgpu::util

Function power_preference_from_env

Source
pub fn power_preference_from_env() -> Option<PowerPreference>
Expand description

Get a power preference from the environment variable WGPU_POWER_PREF