FPS timer.
More...
#include <FPS.hpp>
|
|
void | start (void) |
|
void | stop (void) |
|
uint32 | frames (void) const |
|
std::string | asString (void) const |
|
uint32 | fps () const |
|
float | fps_float () const |
|
void | update (void) |
|
void | start (void) |
|
void | stop (void) |
|
void | restart (void) |
| | Alias for start.
|
|
void | pause (void) |
|
void | unpause (void) |
|
uint32 | ticks (void) const |
|
bool | started (void) const |
|
bool | paused (void) const |
|
const std::string | ticksAsString (void) const |
|
real32 | to_seconds () const |
|
| static uint32 | to_milliseconds (real32 seconds) |
| | Convert milliseconds to seconds.
|
| static real32 | to_seconds (uint32 ticks) |
| | Convert a timer value to seconds.
|
FPS timer.
Definition at line 40 of file FPS.hpp.
◆ fps_timer
| Timer nom::FPS::fps_timer |
|
private |
◆ fps_update_timer
| Timer nom::FPS::fps_update_timer |
|
private |
◆ total_frames
| uint32 nom::FPS::total_frames |
|
private |
The documentation for this class was generated from the following file:
- /home/jeff/Projects/nomlib.git/include/nomlib/system/FPS.hpp