This is a special
TextNodethat automatically updates itself with output from a
SceneGraphAnalyzerinstance. It can be placed anywhere in the world where you’d like to see the output from
It also has a special mode in which it may be attached directly to a channel or window. If this is done, it creates a
DisplayRegionfor itself and renders itself in the upper-right-hand corner.
DisplayRegion *get_display_region(void) const¶
double get_update_interval(void) const¶
Returns the number of seconds that will elapse between updates to the frame rate indication.
GraphicsOutput *get_window(void) const¶
void set_update_interval(double update_interval)¶
Specifies the number of seconds that should elapse between updates to the meter. This should be reasonably slow (e.g. 0.5 to 2.0) so that the calculation of the scene graph analysis does not itself dominate the frame rate.
void setup_window(GraphicsOutput *window)¶
Sets up the frame rate meter to create a
DisplayRegionto render itself into the indicated window.
- DisplayRegion *get_display_region(void) const¶