version 3.3

VRS::MappedVertexAttributeShapeSimplifierGL Class Reference

#include <vrs/opengl/mappedvertexattributeshapesimplifiergl.h>

Inheritance diagram for VRS::MappedVertexAttributeShapeSimplifierGL:

VRS::ShapeSimplifier VRS::Simplifier VRS::Handler VRS::RenderObj VRS::SharedObj VRS::Visitable EnvironmentRenderer::WaterSurfaceSimplifierGL

List of all members.

Public Member Functions

virtual ID target () const
 See `Simplifier'.
virtual bool simplify (Engine *, const Shape *)
 See `ShapeSimplifier'.
virtual bool isSimple ()
 VRS_TYPEINFO (MappedVertexAttributeShapeSimplifierGL, ShapeSimplifier)


Member Function Documentation

virtual ID VRS::MappedVertexAttributeShapeSimplifierGL::target (  )  const [virtual]

See `Simplifier'.

< The simplifier maps per-vertex values for each vertex attribute name to target registers due to the mapping provided by 'MappedVertexAttributeShapeGL'

The following identifiers for data indicate registers to be used with unextended OpenGL:

  • VERTEX_DATA = register 0 equals vertices
  • VERTEX_WEIGHTS_DATA = register 1 equals vertices weights
  • NORMAL_DATA = register 2 equals normals
  • COLOR_DATA = register 3 equals primary color
  • SECONDARY_COLOR_DATA = register 4 equals secondary color
  • FOG_DATA = register 5 equals fog parameter
  • PRI_BACK_FACE_COLOR_DATA = register 6 equals primary back face color
  • SEC_BACK_FACE_COLOR_DATA = register 6 equals primary back face color
  • TEXTURE_COORD_0_DATA = register 8 equals texture coords of unit 0
  • TEXTURE_COORD_1_DATA = register 9 equals texture coords of unit 1
  • TEXTURE_COORD_2_DATA = register 10 equals texture coords of unit 2
  • TEXTURE_COORD_3_DATA = register 11 equals texture coords of unit 3
  • TEXTURE_COORD_4_DATA = register 12 equals texture coords of unit 4
  • TEXTURE_COORD_5_DATA = register 13 equals texture coords of unit 5
  • TEXTURE_COORD_6_DATA = register 14 equals texture coords of unit 6
  • TEXTURE_COORD_7_DATA = register 15 equals texture coords of unit 7
  • EDGE_FLAG_OPENGL = support for edge flag to be used with triangles, polygons and quads

Implements VRS::ShapeSimplifier.

Reimplemented in EnvironmentRenderer::WaterSurfaceSimplifierGL.

virtual bool VRS::MappedVertexAttributeShapeSimplifierGL::simplify ( Engine ,
const Shape  
) [virtual]

See `ShapeSimplifier'.

Implements VRS::ShapeSimplifier.

Reimplemented in EnvironmentRenderer::WaterSurfaceSimplifierGL.

virtual bool VRS::MappedVertexAttributeShapeSimplifierGL::isSimple (  )  [virtual]

This is a simple shape simplification.

Reimplemented from VRS::ShapeSimplifier.

VRS::MappedVertexAttributeShapeSimplifierGL::VRS_TYPEINFO ( MappedVertexAttributeShapeSimplifierGL  ,
ShapeSimplifier   
)


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

Generated on Tue May 22 06:00:23 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact