Time

utility class for time calculations

Members

Static functions

update
void update(float dt)

internally used to update the time counters

Static variables

delta_time
float delta_time;

the time elapsed since the last update (a.k.a. dt)

frame_count
uint frame_count;

frame count

raw_delta_time
float raw_delta_time;

unscaled delta time

time_scale
float time_scale;

time scale to apply to delta time

total_time
float total_time;

total elapsed time

Meta