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

Public Member Functions | |
| virtual ID | target () const =0 |
| virtual bool | simplify (Engine *, const Shape *)=0 |
| virtual bool | isSimple () |
| VRS_TYPEINFO (ShapeSimplifier, Simplifier) | |
| virtual ID VRS::ShapeSimplifier::target | ( | ) | const [pure virtual] |
The stack class is the name of the shape class for which the handler provides a service.
Implements VRS::Simplifier.
Implemented in EnvironmentRenderer::WaterSurfaceSimplifierGL, VRS::KnotSimplifier, VRS::BatchTreeSimplifierGL, VRS::MappedVertexAttributeShapeSimplifierGL, VRS::ObjectCacheSimplifierGL, VRS::TexturedBatchTreeSimplifierGL, VRS::TriangleSetSimplifierGL, VRS::TEXT::CombinedTextSimplifier, and VRS::TEXT::FontLodTextSimplifier.
Evaluates the given shape by using other VRS-shapes (and VRS-attributes).
Implemented in EnvironmentRenderer::WaterSurfaceSimplifierGL, VRS::KnotSimplifier, VRS::BatchTreeSimplifierGL, VRS::MappedVertexAttributeShapeSimplifierGL, VRS::ObjectCacheSimplifierGL, VRS::TexturedBatchTreeSimplifierGL, VRS::TriangleSetSimplifierGL, VRS::TEXT::CombinedTextSimplifier, and VRS::TEXT::FontLodTextSimplifier.
| bool VRS::ShapeSimplifier::isSimple | ( | ) | [inline, virtual] |
If a shape is simplified and isSimple returns true the simplifier should not apply VRS attributes. During the simplification process, techniques and shaders are evaluated for the first simple shape simplifier that is found. The default is non-simple shape simplification.
Reimplemented in VRS::MappedVertexAttributeShapeSimplifierGL, and VRS::TriangleSetSimplifierGL.
| VRS::ShapeSimplifier::VRS_TYPEINFO | ( | ShapeSimplifier | , | |
| Simplifier | ||||
| ) |