Queue specialization for calculating frame rate.
More...
#include <kanzi/core.ui/legacy/kzu_frame_time_queue.hpp>
Queue specialization for calculating frame rate.
kanzi::FrameTimeQueue::FrameTimeQueue |
( |
| ) |
|
|
explicit |
void kanzi::FrameTimeQueue::update |
( |
unsigned int |
frameTime | ) |
|
Updates the frame time queue with a new frame time.
float kanzi::FrameTimeQueue::getFPS |
( |
| ) |
const |
|
inline |
unsigned int kanzi::FrameTimeQueue::getLastFrameTime |
( |
| ) |
const |
|
inline |
Returns the last frame time.
unsigned int kanzi::FrameTimeQueue::m_firstFrame |
|
protected |
Frame time queue front index.
unsigned int kanzi::FrameTimeQueue::m_frameCount |
|
protected |
unsigned int kanzi::FrameTimeQueue::m_milliseconds |
|
protected |
Frame time queue content sum cache.
unsigned int kanzi::FrameTimeQueue::m_latestFrameTime |
|
protected |
Duration of last frame in milliseconds.
float kanzi::FrameTimeQueue::m_fps |
|
protected |
The documentation for this class was generated from the following file: