fps_t : handy object for frames-per-second calculations
More...
#include <camera.h>
List of all members.
Public Member Functions |
| | fps_t (void) throw () |
| | fps_t (IN const perf::time_t &startTime) throw () |
| void | init (IN const perf::time_t &startTime) throw () |
| void | tick (IN const perf::time_t &currTime) throw () |
| float | getFPS (void) const throw () |
Public Attributes |
| perf::time_t | m_startTime |
| long | m_frames |
| float | m_fps |
Detailed Description
fps_t : handy object for frames-per-second calculations
Definition at line 124 of file camera.h.
Constructor & Destructor Documentation
| glut::fps_t::fps_t |
( |
void |
|
) |
throw () [inline] |
| glut::fps_t::fps_t |
( |
IN const perf::time_t & |
startTime |
) |
throw () [inline] |
Member Function Documentation
| void glut::fps_t::init |
( |
IN const perf::time_t & |
startTime |
) |
throw () [inline] |
| void glut::fps_t::tick |
( |
IN const perf::time_t & |
currTime |
) |
throw () [inline] |
| float glut::fps_t::getFPS |
( |
void |
|
) |
const throw () [inline] |
Member Data Documentation
The documentation for this struct was generated from the following file: