cf_set_target_framerate¶
Category: time
GitHub: cute_time.h
Attempts to render onto the screen at a certain frequency.
Parameters | Description |
---|---|
frames_per_second | Target frequency to run the app. |
Remarks¶
This effect will try to render the game at a target framerate, similar to vsync. Set to -1 to disable this effect (disabled by default). This only affects rendering (not gameplay/update), see cf_set_fixed_timestep to control your gameplay/update framerate.
Related Pages¶
cf_set_fixed_timestep
cf_set_fixed_timestep_max_updates
cf_update_time
CF_DELTA_TIME_FIXED
CF_DELTA_TIME_INTERPOLANT