This class manages the time. More...
#include <cFrameLimiter.hpp>
Public Member Functions | |
| cFrameLimiter () | |
| Init Variables. | |
| bool | LimitFrameRate (bool _Limit, unsigned int _Fps=0) |
| void | Limit () |
This class manages the time.
This class saves the time and update it. The time is saved in millisecons. The Time represent the time elapsed since the last frame rendered.
| void cFrameLimiter::Limit | ( | ) |
Limit the frame rate.
| bool cFrameLimiter::LimitFrameRate | ( | bool | _Limit, | |
| unsigned int | _Fps = 0 | |||
| ) |
Set if the FrameRate should be limited
| _Limit | Set, if the Frameratelimiter should be activated. True -> Active ; False -> Deactivated; | |
| _Fps | Set the Target Frame Rate |
1.6.3