pub enum BudgetReason {
Show 15 variants
Disabled,
Reset,
WarmingUp,
Paused,
BackgroundGap,
CpuBound,
GpuUnavailable,
Cooldown,
ConfirmingOverload,
ConfirmingRecovery,
Monitoring,
AtMinimumScale,
AtFullScale,
LoweredQuality,
RaisedQuality,
}Expand description
Why the last accepted observation or explicit controller reset held or
changed presentation quality. Read through RenderBudget::state.
Variants§
Disabled
Adaptation is disabled; the requested user fidelity is retained.
Reset
An explicit reset restored full scale and discarded measurement history.
WarmingUp
Warm-up was started, or this sample seeded the filter without adding evidence.
Paused
A local pause discarded measurement history, retaining the current scale.
BackgroundGap
A frame longer than 250 ms discarded measurement history.
CpuBound
CPU time exceeded 85% of the target frame budget.
No GPU measurement was supplied.
Cooldown
A previous quality change is still settling.
ConfirmingOverload
Current and smoothed GPU times indicate overload; more evidence is needed.
ConfirmingRecovery
Current and smoothed GPU times indicate headroom; more evidence is needed.
Monitoring
Neither overload nor recovery has both current and smoothed evidence.
AtMinimumScale
GPU pressure persists at the minimum allowed presentation scale.
AtFullScale
GPU headroom is available at full presentation scale.
LoweredQuality
Sustained GPU pressure lowered presentation quality by one level.
RaisedQuality
Sustained GPU headroom raised presentation quality by one level.
Trait Implementations§
Source§impl Clone for BudgetReason
impl Clone for BudgetReason
Source§fn clone(&self) -> BudgetReason
fn clone(&self) -> BudgetReason
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more