Clarifying comment on IVideoDriver::getFPS().

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1650 dfc29bdd-3216-0410-991c-e03cc46cb475
master
Rogerborg 2008-10-27 16:25:08 +00:00
parent 5f4681adad
commit 4b5ce62e1b
1 changed files with 5 additions and 2 deletions

View File

@ -695,8 +695,11 @@ namespace video
\return Size of render target or screen/window */
virtual const core::dimension2d<s32>& getCurrentRenderTargetSize() const = 0;
//! Returns current frames per second value.
/** \return Amount of frames per second drawn. */
//! Returns current frames per second value. This value is updated
//! approximately every 1.5 seconds and is only intended to provide a
//! rough guide to the average frame rate. It is not suitable for use in
//! performing timing calculations or framerate independent movement.
/** \return Approximate amount of frames per second drawn. */
virtual s32 getFPS() const = 0;
//! Returns amount of primitives (mostly triangles) which were drawn in the last frame.