Enum wgpu_types::PowerPreference [−][src]
#[repr(C)]
pub enum PowerPreference {
LowPower,
HighPerformance,
}Expand description
Power Preference when choosing a physical adapter.
Variants
Adapter that uses the least possible power. This is often an integrated GPU.
Adapter that has the highest performance. This is often a discrete GPU.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PowerPreferenceimpl Send for PowerPreferenceimpl Sync for PowerPreferenceimpl Unpin for PowerPreferenceimpl UnwindSafe for PowerPreferenceBlanket Implementations
Mutably borrows from an owned value. Read more