Skip to main content

set_fps_capped

Function set_fps_capped 

Source
pub fn set_fps_capped(capped: bool)
Expand description

Caps/unlocks the FPS of the application. (Capped by default)

ยงExamples

set_fps_capped(false); // uncaps the FPS
set_fps_capped(true); // caps the FPS to target FPS