cf_set_fixed_timestep_max_updates¶
Category: time
GitHub: cute_time.h
Sets the frequency for fixed timestep updates to occur.
Parameters | Description |
---|---|
max_updates | The max number of updates. A good default number is 5. |
Remarks¶
Often times a fixed-timestep can occur multiple times in one frame. In this case, CF_OnUpdateFn will be called once
per update to simulate a fixed-timestep (see CF_OnUpdateFn and cf_update_time). The max number of updates possible
is clamped below max_updates
.
Related Pages¶
cf_set_fixed_timestep
cf_set_target_framerate
cf_update_time
CF_DELTA_TIME_FIXED
CF_DELTA_TIME_INTERPOLANT