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

Public Member Functions | |
| MainTechniqueGL () | |
| virtual void | start (Engine *) |
| virtual void | stop (Engine *) |
| virtual bool | preparePass (Engine *) |
| virtual void | finishPass (Engine *) |
| virtual bool | prepareEval (Engine *, const Shape *) |
| Returns true, so shapes may be rendered. | |
| virtual void | finishEval (Engine *, const Shape *) |
| Empty implementation. | |
| VRS_TYPEINFO (MainTechniqueGL, TechniqueGL) | |
| VRS::MainTechniqueGL::MainTechniqueGL | ( | ) |
Main rendering passes for OpenGL. Contains actually two passes: CLEARBUFFER for clearing the background if no BackgroundGL technique is in the scene graph, and MAIN, where the scene graph is traversed and shapes are rendered.
| virtual void VRS::MainTechniqueGL::start | ( | Engine * | ) | [virtual] |
Starts a technique. For all techniques in the scene graph, this method is called at the end of the pretraversal. The default behaviour is to add all passes in the pass array to the current TechniqueProcessor. If this is expected, subclasses should call "Technique::class()".
Reimplemented from VRS::Technique.
| virtual void VRS::MainTechniqueGL::stop | ( | Engine * | ) | [virtual] |
Stops a technique. For all techniques in the scene graph, this method is called in the method "stop()" of the TechniqueProcessor.
Reimplemented from VRS::Technique.
| virtual bool VRS::MainTechniqueGL::preparePass | ( | Engine * | ) | [virtual] |
CLEARBUFFER: if necessary, the framebuffer is cleared.
MAIN: returns true.
Implements VRS::Technique.
| virtual void VRS::MainTechniqueGL::finishPass | ( | Engine * | ) | [virtual] |
For an active technique, this method is invoked after the traversal of the scene graph. The changes made in "preparePass()" should be undone here
Implements VRS::Technique.
| VRS::MainTechniqueGL::VRS_TYPEINFO | ( | MainTechniqueGL | , | |
| TechniqueGL | ||||
| ) |