Legacy:GetFrameRate

From Spherical
Revision as of 23:04, 24 June 2013 by Apollolux (talk | contribs) (filled)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Get the refresh rate of drawing functions outside the map engine.

Usage

integer GetFrameRate();


Examples

See the example for SetFrameRate().

Notes

  • The return value of this function is the frames per second currently being used by Sphere's graphics driver for drawing functions. This fps value can be set using SetFrameRate().
  • To obtain the frame rate used by the map engine, use GetMapEngineFrameRate().

See also

API:Video/navbox