Enum apple_bundle::info_plist::user_interface::GpuSelectionPolicy [−][src]
pub enum GpuSelectionPolicy {
AvoidRemovable,
PreferRemovable,
}Expand description
GPU Selection Policy
Variants
Metal tries to avoid creating contexts on external GPUs. For legacy OpenGL apps, OpenGL also avoids creating contexts using external GPUs. Set this option only if your app doesn’t support external GPU event handling.
If external GPUs are visible to the system, Metal prefers them over other GPUs. Similarly, for legacy OpenGL apps, OpenGL also prefers to create contexts on the external GPU.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GpuSelectionPolicyimpl Send for GpuSelectionPolicyimpl Sync for GpuSelectionPolicyimpl Unpin for GpuSelectionPolicyimpl UnwindSafe for GpuSelectionPolicyBlanket Implementations
Mutably borrows from an owned value. Read more