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 PowerPreference
impl Send for PowerPreference
impl Sync for PowerPreference
impl Unpin for PowerPreference
impl UnwindSafe for PowerPreference
Blanket Implementations
Mutably borrows from an owned value. Read more