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

Public Member Functions | |
| SceneConfiguration () | |
| virtual void | evaluate (Engine *engine) |
| Emtpy implementation, since scene configuration contains only permanent nodes. | |
| virtual void | install (Engine *engine) |
| Pushes all handlers and techniques to the new rendering engine. | |
| virtual void | deinstall (Engine *engine) |
| removes (i.e., pops) installed handlers and techniques from rendering engine. | |
| VRS_TYPEINFO (SceneConfiguration, SceneThing) | |
| VRS_SERIALIZABLE (SceneConfiguration) | |
Protected Member Functions | |
| virtual bool | accepts (const SharedObj *) const |
| VRS::SceneConfiguration::SceneConfiguration | ( | ) |
An `SceneConfiguration' scene graph node stores a set of handlers and techniques. It installs them permanently in rendering engines which are used for evaluating a scene graph.
| virtual void VRS::SceneConfiguration::evaluate | ( | Engine * | engine | ) | [virtual] |
Emtpy implementation, since scene configuration contains only permanent nodes.
Only permanent content nodes are present in a scene configuration node, so nothing needs to be done here.
Reimplemented from VRS::SceneThing.
| virtual void VRS::SceneConfiguration::install | ( | Engine * | engine | ) | [virtual] |
Pushes all handlers and techniques to the new rendering engine.
This method is normally invoked when installing a new rendering engine (install event for geometry graphs). When the handlers and techniques have been installed, they are permanently stored in the engine till they are deinstalled, which normally occurs only when destroying the engine.
Reimplemented from VRS::SceneThing.
| virtual void VRS::SceneConfiguration::deinstall | ( | Engine * | engine | ) | [virtual] |
removes (i.e., pops) installed handlers and techniques from rendering engine.
This method is normally invoked before destroying a rendering engine. It removes all handlers and techniques that have been installed before in the install event.
Reimplemented from VRS::SceneThing.
| VRS::SceneConfiguration::VRS_TYPEINFO | ( | SceneConfiguration | , | |
| SceneThing | ||||
| ) |
| VRS::SceneConfiguration::VRS_SERIALIZABLE | ( | SceneConfiguration | ) |
| virtual bool VRS::SceneConfiguration::accepts | ( | const SharedObj * | ) | const [protected, virtual] |
Checks whethere a given object can be inserted to the thing.
Reimplemented from VRS::SceneThing.