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.

Deprecated :

Use pyglet.app.run and schedule_interval instead.

Previous topic

set_default

Next topic

test_clock