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

Public Member Functions | |
| HaloTechniqueGL () | |
| Technique for rendering halos. Requires ARB vertex programs. | |
| const ID & | getNormalID () |
| normalID defines the vertex attribute ID, in which the technique expects the normal information. | |
| void | setNormalID (const ID &normalID=NORMAL_ID()) |
| virtual bool | canBeUsed (Engine *) const |
| This technique requires ARB vertex programs. | |
| virtual bool | preparePass (Engine *) |
| Initializes the MAIN or HALO rendering pass. | |
| virtual void | finishPass (Engine *) |
| Finishes the rendering pass. | |
| virtual bool | prepareEval (Engine *, const Shape *) |
| In the HALO rendering pass, scales the shape according to the size specified in the halo attribute using a vertex program. | |
| virtual void | finishEval (Engine *, const Shape *) |
| In the HALO rendering pass, deactives the vertex program. | |
| VRS_TYPEINFO (HaloTechniqueGL, TechniqueGL) | |
| VRS::HaloTechniqueGL::HaloTechniqueGL | ( | ) |
Technique for rendering halos. Requires ARB vertex programs.
| const ID& VRS::HaloTechniqueGL::getNormalID | ( | ) |
normalID defines the vertex attribute ID, in which the technique expects the normal information.
| void VRS::HaloTechniqueGL::setNormalID | ( | const ID & | normalID = NORMAL_ID() |
) |
| virtual bool VRS::HaloTechniqueGL::canBeUsed | ( | Engine * | ) | const [virtual] |
| virtual bool VRS::HaloTechniqueGL::preparePass | ( | Engine * | ) | [virtual] |
Initializes the MAIN or HALO rendering pass.
The halo rendering is done as a late scene traversal pass, where the transparent halos are blended to the scene.
Implements VRS::Technique.
| virtual void VRS::HaloTechniqueGL::finishPass | ( | Engine * | ) | [virtual] |
In the HALO rendering pass, scales the shape according to the size specified in the halo attribute using a vertex program.
Implements VRS::Technique.
| VRS::HaloTechniqueGL::VRS_TYPEINFO | ( | HaloTechniqueGL | , | |
| TechniqueGL | ||||
| ) |