
.. py:module:: moderngl_window.timers.clock
.. py:currentmodule:: moderngl_window.timers.clock

clock.Timer
===========

.. autodata:: Timer
   :annotation:

Methods
-------

.. automethod:: Timer.__init__
.. automethod:: Timer.next_frame
.. automethod:: Timer.start
.. automethod:: Timer.pause
.. automethod:: Timer.toggle_pause
.. automethod:: Timer.stop

Attributes
----------

.. autoattribute:: Timer.is_paused
.. autoattribute:: Timer.is_running
.. autoattribute:: Timer.time
