Function ggez::timer::check_update_time
[−]
[src]
pub fn check_update_time(ctx: &mut Context, desired_update_rate: u64) -> bool
This function will return true if the time since the
last update()
call has been equal to or greater to
the update FPS indicated by the desired_update_rate
.
It keeps track of fractional frames, and does not
do any sleeping.