set_fps_limit Function

Defined in pyglet.clock

set_fps_limit(fps_limit)

Set the framerate limit for the default clock.

Parameters:fps_limit (float) – Maximum frames per second allowed, or None to disable limiting.

Warning

Deprecated. Use pyglet.app.run and schedule_interval instead.

Previous topic

set_default Function

Next topic

test_clock Function