pub fn power_preference_from_env() -> Option<PowerPreference>
Available on crate feature wgpu only.
Expand description

Get a power preference from the environment variable WGPU_POWER_PREF