#include <FpsCounter.h>
Public Member Functions | |
FpsCounter (unsigned int numTimeSteps=50) | |
void | update (float timestep) |
void | render (unsigned int x, unsigned int y) const |
|
Constructor.
|
|
Renders the FPS value to the specified framebuffer position.
|
|
Updates the FPS value based on the last timestep.
|