| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/framecounter.h>

Public Member Functions | |
| FrameCounter (bool onlyFrames=true) | |
| virtual void | evaluate (Engine *engine) |
| double | framerate () |
| double | currentFramerate (int numAvgValues=20) |
| VRS_TYPEINFO (FrameCounter, SceneNode) | |
| VRS_SERIALIZABLE (FrameCounter) | |
| VRS::FrameCounter::FrameCounter | ( | bool | onlyFrames = true |
) |
Counts the number of frames if 'onlyFrames' is true, otherwise all passes are counted
| virtual void VRS::FrameCounter::evaluate | ( | Engine * | engine | ) | [virtual] |
Geometry nodes are parameterized by rendering engines. That is, one scene graph may be traversed by several rendering engines (e.g., an engine for each canvas of a multiview application). Evaluate passes attributes, shapes, and handlers to the rendering engine, and delegates the evaluation to subgraphs.
Reimplemented from VRS::SceneNode.
| double VRS::FrameCounter::framerate | ( | ) |
| double VRS::FrameCounter::currentFramerate | ( | int | numAvgValues = 20 |
) |
| VRS::FrameCounter::VRS_TYPEINFO | ( | FrameCounter | , | |
| SceneNode | ||||
| ) |
| VRS::FrameCounter::VRS_SERIALIZABLE | ( | FrameCounter | ) |