Function wgpu::util::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