virtual void render(RenderState *renderState)
int getNTriangles() const
Base class for all leaf nodes, i.e., nodes without children (composite pattern, abstract).
A core that contains geometry information to be rendered.
Base class for all leaf nodes, i.e., nodes without children (composite pattern, abstract).
Base class for all cores (abstract).
Base class for all traversers (visitor pattern, abstract).
A shape node that contains geometry to be rendered (leaf node).
The central render state that collects information about the current shader, transformations,...
Shape * addCore(CoreSP core)
Internal definitions required by most classes.
void addTextureCore(Texture2DCoreSP core)
virtual void accept(Traverser *traverser)