pub enum PacingAction {
StepAndRender,
RenderWithoutSimAdvance,
DeferToNextVsync,
WaitInFlight,
SkipUserCap,
}Expand description
Authoritative pacing verdict emitted by FramePacingController::evaluate.
Variants§
StepAndRender
Advance fixed simulation by sim_dt_secs and submit at most one complete frame for this VSync.
RenderWithoutSimAdvance
Present a fresh visual frame without advancing simulation time (used for lifecycle first frames).
DeferToNextVsync
Record pending input/layout dirtiness and wait for the next VSync without double-stepping simulation.
WaitInFlight
Defer submission because in_flight_frames >= max_in_flight_frames.
SkipUserCap
Skip this presentation opportunity to respect an explicit user FPS cap below the display refresh rate.
Trait Implementations§
Source§impl Clone for PacingAction
impl Clone for PacingAction
impl Copy for PacingAction
Source§impl Debug for PacingAction
impl Debug for PacingAction
Source§impl Default for PacingAction
impl Default for PacingAction
impl Eq for PacingAction
Source§impl Hash for PacingAction
impl Hash for PacingAction
Source§impl PartialEq for PacingAction
impl PartialEq for PacingAction
impl StructuralPartialEq for PacingAction
Auto Trait Implementations§
impl Forget for PacingAction
impl Freeze for PacingAction
impl Move for PacingAction
impl RefUnwindSafe for PacingAction
impl Send for PacingAction
impl Sync for PacingAction
impl Unpin for PacingAction
impl UnsafeUnpin for PacingAction
impl UnwindSafe for PacingAction
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