Struct pixels_graphics_lib::Timing
source · pub struct Timing {
pub delta: f64,
pub started_at: Instant,
pub now: Instant,
pub last: Instant,
pub updates: usize,
pub renders: usize,
pub fixed_time_step: f64,
pub fixed_time_step_f32: f32,
pub stats: Stats,
/* private fields */
}
Fields§
§delta: f64
time factor for lerp, etc
started_at: Instant
when execution started
now: Instant
time at start of frame
last: Instant
time at start of last frame
updates: usize
number of updates so far
renders: usize
number of renders so far
fixed_time_step: f64
§fixed_time_step_f32: f32
§stats: Stats