0.44.0
|
#include <iTimer.h>
Inherits igor::iModule< iTimer >.
Public Member Functions | |
const iaTime & | getTime () const |
const iaTime & | getTimeDelta () const |
iaTime | getAverageTimeDelta () const |
iaTime | getPeakTimeDelta () const |
float64 | getFPS () const |
float64 | getAverageFPS () const |
void | stop () |
void | start () |
Friends | |
class | iTimerHandle |
class | iApplication |
class | iModule< iTimer > |
Additional Inherited Members | |
Static Public Member Functions inherited from igor::iModule< iTimer > | |
static IGOR_INLINE iTimer & | getInstance () |
static IGOR_INLINE bool | isInstantiated () |
static void | create () |
static void | destroy () |
Protected Member Functions inherited from igor::iModule< iTimer > | |
iModule ()=default | |
virtual | ~iModule ()=default |
Handles Application time and intervals.
Measures time of application cycles based on render frames. Can also just measure current time see getTime()
float64 igor::iTimer::getAverageFPS | ( | ) | const |
iaTime igor::iTimer::getAverageTimeDelta | ( | ) | const |
float64 igor::iTimer::getFPS | ( | ) | const |
iaTime igor::iTimer::getPeakTimeDelta | ( | ) | const |
const iaTime & igor::iTimer::getTime | ( | ) | const |
const iaTime & igor::iTimer::getTimeDelta | ( | ) | const |
void igor::iTimer::start | ( | ) |
continues time
void igor::iTimer::stop | ( | ) |
stops time and everything that is triggered by it
|
friend |
|
friend |