OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | List of all members
osg::TriangleIndexFunctor< T > Class Template Reference
Inheritance diagram for osg::TriangleIndexFunctor< T >:
Inheritance graph
[legend]

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 Member Functions inherited from osg::PrimitiveIndexFunctor
virtual ~PrimitiveIndexFunctor ()
 
void useVertexCacheAsVertexArray ()
 

Public Attributes

GLenum _modeCache
 
std::vector< GLuint > _indexCache
 
- Public Attributes inherited from osg::PrimitiveIndexFunctor
std::vector< Vec3_vertexCache
 
bool _treatVertexDataAsTemporary
 

Member Function Documentation

template<class T >
virtual void osg::TriangleIndexFunctor< T >::begin ( GLenum  mode)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::end ( )
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec2  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec3  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec4  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec2d  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec3d  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::setVertexArray ( unsigned int  ,
const Vec4d  
)
inlinevirtual
template<class T >
virtual void osg::TriangleIndexFunctor< T >::vertex ( unsigned int  vert)
inlinevirtual

Member Data Documentation

template<class T >
std::vector<GLuint> osg::TriangleIndexFunctor< T >::_indexCache
template<class T >
GLenum osg::TriangleIndexFunctor< T >::_modeCache

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

osg logo
Generated at Wed Nov 11 2015 22:14:46 for the OpenSceneGraph by doxygen 1.8.10.