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

Public Member Functions | |
| StaticLightingOperator (bool removeLights=true) | |
| Constructor. | |
| virtual void | optimizeScene (SO< SceneNode > &scene) |
| Optimize the provided scene. | |
| virtual VisitorBase::VisitMode | visit (Light *light, bool push) |
| Find lights. | |
| virtual VisitorBase::VisitMode | visit (PolygonSet *shape, bool push) |
| Find shapes. | |
| virtual VisitorBase::VisitMode | visit (ShapeMaterialGL *material, bool push) |
| Find material. | |
| virtual VisitorBase::VisitMode | visit (Transform *transform, bool push) |
| Find transformations. | |
| virtual VisitorBase::VisitMode | visit (SceneThing *thing, bool push) |
| Push/pop attributes. | |
Attention: The SceneNode pointer provided is modified directly, so all other pointers to this node are invalid after optimization.
| VRS::StaticLightingOperator::StaticLightingOperator | ( | bool | removeLights = true |
) | [inline] |
Constructor.
| virtual VisitorBase::VisitMode VRS::StaticLightingOperator::visit | ( | Light * | light, | |
| bool | push | |||
| ) | [virtual] |
Find lights.
| virtual VisitorBase::VisitMode VRS::StaticLightingOperator::visit | ( | PolygonSet * | shape, | |
| bool | push | |||
| ) | [virtual] |
Find shapes.
| virtual VisitorBase::VisitMode VRS::StaticLightingOperator::visit | ( | ShapeMaterialGL * | material, | |
| bool | push | |||
| ) | [virtual] |
Find material.
| virtual VisitorBase::VisitMode VRS::StaticLightingOperator::visit | ( | Transform * | transform, | |
| bool | push | |||
| ) | [virtual] |
Find transformations.
| virtual VisitorBase::VisitMode VRS::StaticLightingOperator::visit | ( | SceneThing * | thing, | |
| bool | push | |||
| ) | [virtual] |
Push/pop attributes.