Difference between revisions of "Legacy:GetFrameRate"

From Spherical
Jump to: navigation, search
(created from http://web.archive.org/web/20110803110656/http://www.spheredev.org/wiki/GetFrameRate)
 
(filled)
 
Line 6: Line 6:
  
 
==Usage==
 
==Usage==
{{Usage|returns=integer|object={{{object}}}|func=GetFrameRate|params={{{params}}}}}
+
{{Usage|returns=integer|func=GetFrameRate}}
 
 
* '''param1''' type. param1 description
 
* '''param2''' type. param2 description
 
* '''paramN''' type. paramN description
 
  
 
==Examples==
 
==Examples==
(examples with syntaxhighlighted code)
+
See the example for [[API:SetFrameRate|SetFrameRate]]().
  
 
==Notes==
 
==Notes==
(notes)
+
* The return value of this function is the frames per second currently being used by Sphere's graphics driver for drawing functions. This <var>fps</var> value can be set using [[API:SetFrameRate|SetFrameRate]]().
 +
* To obtain the frame rate used by the map engine, use [[API:GetMapEngineFrameRate|GetMapEngineFrameRate]]().
  
 
==See also==
 
==See also==
* see also
+
* [[API:SetFrameRate|SetFrameRate]]()
* see also
+
* [[API:GetMapEngineFrameRate|GetMapEngineFrameRate]]()
* see also
+
* [[wikipedia:Frames per second|Frames per second]] on [http://www.wikipedia.org Wikipedia]
* etc
 
  
 
{{API:Video/navbox}}
 
{{API:Video/navbox}}

Latest revision as of 23:04, 24 June 2013


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