osg::DrawElements Class Reference

Inheritance diagram for osg::DrawElements:

osg::PrimitiveSet osg::BufferData osg::Object osg::Referenced osg::DrawElementsUByte osg::DrawElementsUInt osg::DrawElementsUShort

List of all members.

Public Member Functions

 DrawElements (Type primType=PrimitiveType, GLenum mode=0, int numInstances=0)
 DrawElements (const DrawElements &copy, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
virtual DrawElementsgetDrawElements ()
virtual const DrawElementsgetDrawElements () const
void setElementBufferObject (osg::ElementBufferObject *ebo)
osg::ElementBufferObjectgetElementBufferObject ()
const osg::ElementBufferObjectgetElementBufferObject () const
virtual void reserveElements (unsigned int numIndices)=0
virtual void setElement (unsigned int, unsigned int)=0
virtual unsigned int getElement (unsigned int)=0
virtual void addElement (unsigned int)=0

Protected Member Functions

virtual ~DrawElements ()


Constructor & Destructor Documentation

osg::DrawElements::DrawElements ( Type  primType = PrimitiveType,
GLenum  mode = 0,
int  numInstances = 0 
) [inline]

osg::DrawElements::DrawElements ( const DrawElements copy,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]

virtual osg::DrawElements::~DrawElements (  )  [inline, protected, virtual]


Member Function Documentation

virtual DrawElements* osg::DrawElements::getDrawElements (  )  [inline, virtual]

Reimplemented from osg::PrimitiveSet.

virtual const DrawElements* osg::DrawElements::getDrawElements (  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.

void osg::DrawElements::setElementBufferObject ( osg::ElementBufferObject ebo  )  [inline]

osg::ElementBufferObject* osg::DrawElements::getElementBufferObject (  )  [inline]

Get the ElementBufferObject. If no EBO is assigned returns NULL

References osg::BufferData::_bufferObject.

const osg::ElementBufferObject* osg::DrawElements::getElementBufferObject (  )  const [inline]

Get the const ElementBufferObject. If no EBO is assigned returns NULL

References osg::BufferData::_bufferObject.

virtual void osg::DrawElements::reserveElements ( unsigned int  numIndices  )  [pure virtual]

virtual void osg::DrawElements::setElement ( unsigned  int,
unsigned  int 
) [pure virtual]

virtual unsigned int osg::DrawElements::getElement ( unsigned  int  )  [pure virtual]

virtual void osg::DrawElements::addElement ( unsigned  int  )  [pure virtual]


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

Generated on Sat Mar 20 12:33:58 2010 for openscenegraph by  doxygen 1.5.6