pub enum DownlevelProfile {
Full,
WebGl2,
}Expand description
Whether an adapter’s usable limits are the full native set, or clamped to
the GLES-3.0/WebGL2 downlevel defaults (wgpu::Limits::downlevel_webgl2_defaults).
Derived, never chosen directly by a caller building TierCaps::probe:
WebGl2 whenever the adapter’s backend is wgpu::Backend::Gl, or
whenever the process-wide FRUST_ENGINE_DOWNLEVEL=1 override is set — the
latter lets a desktop (Vulkan/Metal/Dx12) adapter rehearse the browser’s
downlevel ceiling without an actual GL/WebGL2 context.
Variants§
Full
Native desktop/mobile limits (Vulkan, Metal, Dx12).
WebGl2
Clamped to the GLES-3.0/WebGL2 downlevel default limits.
Trait Implementations§
Source§impl Clone for DownlevelProfile
impl Clone for DownlevelProfile
impl Copy for DownlevelProfile
Source§impl Debug for DownlevelProfile
impl Debug for DownlevelProfile
impl Eq for DownlevelProfile
Source§impl PartialEq for DownlevelProfile
impl PartialEq for DownlevelProfile
impl StructuralPartialEq for DownlevelProfile
Auto Trait Implementations§
impl Freeze for DownlevelProfile
impl RefUnwindSafe for DownlevelProfile
impl Send for DownlevelProfile
impl Sync for DownlevelProfile
impl Unpin for DownlevelProfile
impl UnsafeUnpin for DownlevelProfile
impl UnwindSafe for DownlevelProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.