OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::FrameStats Class Reference

All return values are either in milliseconds or frames per second; but they're internally stored in microseconds. More...

#include <OgreFrameStats.h>

+ Inheritance diagram for Ogre::FrameStats:

Public Member Functions

 FrameStats ()
 
void addSample (uint64 timeMs)
 Adds a new measured time, in microseconds More...
 
float getAvgFps () const
 
float getAvgTime () const
 
float getBestTime () const
 
float getFps () const
 
float getLastTime () const
 
uint64 getLastTimeRawMicroseconds () const
 
float getWorstTime () const
 
void reset (uint64 timeMs)
 

Detailed Description

All return values are either in milliseconds or frames per second; but they're internally stored in microseconds.


The documentation for this class was generated from the following file: