OpenSceneGraph  3.5.1
Public Member Functions | Public Attributes | List of all members
osg::PrimitiveIndexFunctor Class Referenceabstract
Inheritance diagram for osg::PrimitiveIndexFunctor:
Inheritance graph
[legend]

Public Member Functions

virtual ~PrimitiveIndexFunctor ()
 
virtual void setVertexArray (unsigned int count, const Vec2 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec3 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec4 *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec2d *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec3d *vertices)=0
 
virtual void setVertexArray (unsigned int count, const Vec4d *vertices)=0
 
virtual void drawArrays (GLenum mode, GLint first, GLsizei count)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLubyte *indices)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLushort *indices)=0
 
virtual void drawElements (GLenum mode, GLsizei count, const GLuint *indices)=0
 
virtual void begin (GLenum mode)=0
 
virtual void vertex (unsigned int pos)=0
 
virtual void end ()=0
 
void useVertexCacheAsVertexArray ()
 

Public Attributes

std::vector< Vec3_vertexCache
 
bool _treatVertexDataAsTemporary
 

Constructor & Destructor Documentation

virtual osg::PrimitiveIndexFunctor::~PrimitiveIndexFunctor ( )
inlinevirtual

Member Function Documentation

virtual void osg::PrimitiveIndexFunctor::begin ( GLenum  mode)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawArrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLubyte *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLushort *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::drawElements ( GLenum  mode,
GLsizei  count,
const GLuint *  indices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::end ( )
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec2 vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec3 vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec4 vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec2d vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec3d vertices 
)
pure virtual
virtual void osg::PrimitiveIndexFunctor::setVertexArray ( unsigned int  count,
const Vec4d vertices 
)
pure virtual
void osg::PrimitiveIndexFunctor::useVertexCacheAsVertexArray ( )
inline
virtual void osg::PrimitiveIndexFunctor::vertex ( unsigned int  pos)
pure virtual

Member Data Documentation

bool osg::PrimitiveIndexFunctor::_treatVertexDataAsTemporary
std::vector<Vec3> osg::PrimitiveIndexFunctor::_vertexCache

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

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