[GEM-dev] how the get framerate of GEM in a pix_ object ?

Georg Holzmann grh at mur.at
Thu Aug 16 15:18:45 CEST 2007


Hallo Gem-devs!

Is there a possibility to get the current framerate of Gem (in a e.g. 
pix_ object) ?

As far as I understand the GEM code this should be stored in the GemMan 
(Base/GemMan.h) class in the static variable float GemMan::fps.
However, when I try to access this variable from my pix object I always 
get 0 as framerate (and yes, I started rendering before that).

Has anyone an idea ?

Many thanks,
LG
Georg




More information about the GEM-dev mailing list