Function wgpu::util::power_preference_from_env [−][src]
pub fn power_preference_from_env() -> Option<PowerPreference>Expand description
Get a power preference from the environment variable WGPU_POWER_PREF
pub fn power_preference_from_env() -> Option<PowerPreference>Get a power preference from the environment variable WGPU_POWER_PREF