RenderBudgetOptions class

Configuration for budget-aware render degradation.

Constructors

RenderBudgetOptions({bool enabled = false, Duration? frameBudget, int overBudgetFrames = 3, int recoveryFrames = 8, DegradationLevel maxLevel = DegradationLevel.skeleton})
Creates render budget options.
const

Properties

enabled → bool
Whether render degradation is enabled.
final
frameBudget → Duration?
Optional frame budget override.
final
hashCode → int
The hash code for this object.
no setterinherited
maxLevel → DegradationLevel
The maximum degradation level the runtime may apply.
final
overBudgetFrames → int
Consecutive over-budget frames required to increase degradation.
final
recoveryFrames → int
Consecutive within-budget frames required to reduce degradation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited