![]() |
Image Component Library (ICL)
|
accumulated context information for rendering primitives More...
#include <Primitive.h>
Public Attributes | |
| const std::vector< Vec > & | vertices |
| list of shared vertices More... | |
| const std::vector< Vec > & | normals |
| list of shared normals More... | |
| const std::vector< GeomColor > & | vertexColors |
| list of vertex colors More... | |
| const std::vector< utils::SmartPtr< qt::GLImg > > & | sharedTextures |
| list of shared textures More... | |
| bool | lineColorsFromVertices |
| line coloring More... | |
| bool | triangleColorsFromVertices |
| triangle coloring More... | |
| bool | quadColorsFromVertices |
| quad coloring More... | |
| bool | polygonColorsFromVertices |
| polygon coloring More... | |
| SceneObject * | object |
| the parent object More... | |
accumulated context information for rendering primitives
the RenderContext contains all render information from the parent SceneObject instance. The Scene automatically creates the RenderContext structure for each object and exposes this to it's primitives render() calls;
| bool icl::geom::Primitive::RenderContext::lineColorsFromVertices |
line coloring
| const std::vector<Vec>& icl::geom::Primitive::RenderContext::normals |
list of shared normals
| SceneObject* icl::geom::Primitive::RenderContext::object |
the parent object
| bool icl::geom::Primitive::RenderContext::polygonColorsFromVertices |
polygon coloring
| bool icl::geom::Primitive::RenderContext::quadColorsFromVertices |
quad coloring
| const std::vector<utils::SmartPtr<qt::GLImg> >& icl::geom::Primitive::RenderContext::sharedTextures |
list of shared textures
| bool icl::geom::Primitive::RenderContext::triangleColorsFromVertices |
triangle coloring
| const std::vector<GeomColor>& icl::geom::Primitive::RenderContext::vertexColors |
list of vertex colors
| const std::vector<Vec>& icl::geom::Primitive::RenderContext::vertices |
list of shared vertices
1.8.15