The NWTime class represents the time-related functionality.
More...
#include <NWTime.h>
The NWTime class represents the time-related functionality.
◆ GetDeltaTime()
Gets the delta time.
- Returns
- The delta time.
◆ GetFPS()
Gets the frames per second.
- Returns
- The frames per second.
◆ _currentTime
NWin::timeMl NWTime::_currentTime = 0 |
|
static |
◆ _deltaTime
double NWTime::_deltaTime = 0.0 |
|
static |
The time difference between the current frame and the previous frame.
◆ _deltaTimeSum
double NWTime::_deltaTimeSum = 0 |
|
static |
The sum of all delta times.
◆ _FPS
◆ _frameCount
int NWTime::_frameCount = 0 |
|
static |
The number of frames rendered.
◆ _lastTime
NWin::timeMl NWTime::_lastTime = 0 |
|
static |
The time of the previous frame.
◆ _lastTime2
NWin::timeMl NWTime::_lastTime2 = 0 |
|
static |
The time of the frame before the previous frame.
The documentation for this class was generated from the following files: