pub enum CapabilityDiagnostic {
Rgba8Intermediate,
TextureBudgetReduced {
requested: u64,
applied: u64,
},
DecoderSessionLimit {
limit: u32,
},
FilterSamplesReduced {
requested: u32,
applied: u32,
},
}Expand description
One deterministic fallback selected from adapter facts and caller budgets.
Variants§
Rgba8Intermediate
Half-float filtering is unavailable; the renderer uses normalized RGBA8.
TextureBudgetReduced
Caller memory pressure reduced the idle texture budget.
DecoderSessionLimit
Caller decoder-session limit prevents opening another decoder.
FilterSamplesReduced
A filter sample budget past what a pass takes was reduced to it:
crate::RenderQualityControls::MAX_FILTER_SAMPLES, or less on a
Tier-B (WebGL2, GL ES) device.
Trait Implementations§
Source§impl Clone for CapabilityDiagnostic
impl Clone for CapabilityDiagnostic
Source§impl Debug for CapabilityDiagnostic
impl Debug for CapabilityDiagnostic
impl Eq for CapabilityDiagnostic
Source§impl PartialEq for CapabilityDiagnostic
impl PartialEq for CapabilityDiagnostic
impl StructuralPartialEq for CapabilityDiagnostic
Auto Trait Implementations§
impl Freeze for CapabilityDiagnostic
impl RefUnwindSafe for CapabilityDiagnostic
impl Send for CapabilityDiagnostic
impl Sync for CapabilityDiagnostic
impl Unpin for CapabilityDiagnostic
impl UnsafeUnpin for CapabilityDiagnostic
impl UnwindSafe for CapabilityDiagnostic
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.