|VRS - The Virtual Rendering System|
Public Member Functions
|virtual bool||render (Engine *engine, const Shape *shape)=0|
|VRS_TYPEINFO (ShapePainter, Painter)|
A painter must be able to convert the shape description in commands suitable for the underlying rendering system. Thus, shape painters are specific for rendering systems. For example, see the OpenGL shape painters. This method returns true, if it actually could paint the given shape. If not, it returns false (e.g., if some parameters of the shape make it impossible for the painter to draw it - this will cause a call to a simplifier for that shape or to another more general painter for this kind of shapes).
Implemented in EnvironmentRenderer::GreenSpaceCompositePainter, EnvironmentRenderer::GreenSpacePainter, EnvironmentRenderer::PolygonSetWaterSurfacePainterGL, EnvironmentRenderer::SkyDomePainter, VRS::GL2::AttributedShapePainter, VRS::PrimitiveQuadTreeAreaPainterGL, VRS::PrimitiveQuadTreeDistancePainterGL, VRS::TEXT::SimplePanelPainterGl, and VRS::TEXT::TextureTextPainterGL.