Image Component Library (ICL)
Public Attributes | List of all members
icl::geom::Primitive::RenderContext Struct Reference

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...
 
SceneObjectobject
 the parent object More...
 

Detailed Description

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;

Member Data Documentation

◆ lineColorsFromVertices

bool icl::geom::Primitive::RenderContext::lineColorsFromVertices

line coloring

◆ normals

const std::vector<Vec>& icl::geom::Primitive::RenderContext::normals

list of shared normals

◆ object

SceneObject* icl::geom::Primitive::RenderContext::object

the parent object

◆ polygonColorsFromVertices

bool icl::geom::Primitive::RenderContext::polygonColorsFromVertices

polygon coloring

◆ quadColorsFromVertices

bool icl::geom::Primitive::RenderContext::quadColorsFromVertices

quad coloring

◆ sharedTextures

const std::vector<utils::SmartPtr<qt::GLImg> >& icl::geom::Primitive::RenderContext::sharedTextures

list of shared textures

◆ triangleColorsFromVertices

bool icl::geom::Primitive::RenderContext::triangleColorsFromVertices

triangle coloring

◆ vertexColors

const std::vector<GeomColor>& icl::geom::Primitive::RenderContext::vertexColors

list of vertex colors

◆ vertices

const std::vector<Vec>& icl::geom::Primitive::RenderContext::vertices

list of shared vertices


The documentation for this struct was generated from the following file: