Function tetra::time::get_accumulator[][src]

pub fn get_accumulator(ctx: &Context) -> Duration

Returns the amount of time that has accumulated between updates.

When using a fixed time step, as time passes, this value will increase; as updates occur, it will decrease.

When using a variable time step, this function always returns Duration::from_secs(0).