OpenSceneGraph  3.0.1
Public Member Functions | Public Attributes
osg::TriangleIndexFunctor Class Reference
Inheritance diagram for osg::TriangleIndexFunctor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void setVertexArray (unsigned int, const Vec2 *)
virtual void setVertexArray (unsigned int, const Vec3 *)
virtual void setVertexArray (unsigned int, const Vec4 *)
virtual void setVertexArray (unsigned int, const Vec2d *)
virtual void setVertexArray (unsigned int, const Vec3d *)
virtual void setVertexArray (unsigned int, const Vec4d *)
virtual void begin (GLenum mode)
virtual void vertex (unsigned int vert)
virtual void end ()
virtual void drawArrays (GLenum mode, GLint first, GLsizei count)
virtual void drawElements (GLenum mode, GLsizei count, const GLubyte *indices)
virtual void drawElements (GLenum mode, GLsizei count, const GLushort *indices)
virtual void drawElements (GLenum mode, GLsizei count, const GLuint *indices)

Public Attributes

GLenum _modeCache
std::vector< GLuint > _indexCache

Member Function Documentation

virtual void osg::TriangleIndexFunctor::begin ( GLenum  mode) [inline, virtual]

Implements osg::PrimitiveIndexFunctor.

References _modeCache, and _indexCache.

virtual void osg::TriangleIndexFunctor::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
) [inline, virtual]

Implements osg::PrimitiveIndexFunctor.

Referenced by end().

virtual void osg::TriangleIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::end ( ) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec2  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec3  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec4  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec2d  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec3d  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::setVertexArray ( unsigned int  ,
const Vec4d  
) [inline, virtual]
virtual void osg::TriangleIndexFunctor::vertex ( unsigned int  vert) [inline, virtual]

Implements osg::PrimitiveIndexFunctor.

References _indexCache.


Member Data Documentation

Referenced by begin(), vertex(), and end().

Referenced by begin(), and end().


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

osg logo
Generated at Mon Oct 3 2011 12:39:45 for the OpenSceneGraph by doxygen 1.7.5.