osg::ElementBufferObject Class Reference

Inheritance diagram for osg::ElementBufferObject:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::pair
< BufferEntry,
DrawElements * > 
BufferEntryDrawElementsPair
typedef std::vector
< BufferEntryDrawElementsPair
BufferEntryDrawElementsPairs

Public Member Functions

 ElementBufferObject ()
 ElementBufferObject (const ElementBufferObject &pbo, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osg, ElementBufferObject)
unsigned int addDrawElements (osg::DrawElements *PrimitiveSet)
void removeDrawElements (osg::DrawElements *PrimitiveSet)
void setDrawElements (unsigned int i, DrawElements *PrimitiveSet)
DrawElementsgetDrawElements (unsigned int i)
const DrawElementsgetDrawElements (unsigned int i) const
const GLvoid * getOffset (unsigned int i) const
virtual void compileBuffer (State &state) const
virtual void resizeGLObjectBuffers (unsigned int maxSize)
 Resize any per context GLObject buffers to specified size.

Protected Member Functions

virtual ~ElementBufferObject ()

Protected Attributes

BufferEntryDrawElementsPairs _bufferEntryDrawElementsPairs


Member Typedef Documentation

typedef std::pair< BufferEntry, DrawElements* > osg::ElementBufferObject::BufferEntryDrawElementsPair

typedef std::vector< BufferEntryDrawElementsPair > osg::ElementBufferObject::BufferEntryDrawElementsPairs


Constructor & Destructor Documentation

osg::ElementBufferObject::ElementBufferObject (  ) 

osg::ElementBufferObject::ElementBufferObject ( const ElementBufferObject pbo,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::ElementBufferObject::~ElementBufferObject (  )  [protected, virtual]


Member Function Documentation

osg::ElementBufferObject::META_Object ( osg  ,
ElementBufferObject   
)

unsigned int osg::ElementBufferObject::addDrawElements ( osg::DrawElements PrimitiveSet  ) 

void osg::ElementBufferObject::removeDrawElements ( osg::DrawElements PrimitiveSet  ) 

void osg::ElementBufferObject::setDrawElements ( unsigned int  i,
DrawElements PrimitiveSet 
)

DrawElements* osg::ElementBufferObject::getDrawElements ( unsigned int  i  )  [inline]

const DrawElements* osg::ElementBufferObject::getDrawElements ( unsigned int  i  )  const [inline]

const GLvoid* osg::ElementBufferObject::getOffset ( unsigned int  i  )  const [inline]

virtual void osg::ElementBufferObject::compileBuffer ( State state  )  const [virtual]

Implements osg::BufferObject.

virtual void osg::ElementBufferObject::resizeGLObjectBuffers ( unsigned int  maxSize  )  [virtual]

Resize any per context GLObject buffers to specified size.

Reimplemented from osg::BufferObject.


Member Data Documentation

BufferEntryDrawElementsPairs osg::ElementBufferObject::_bufferEntryDrawElementsPairs [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:06 2007 for the OpenSceneGraph by doxygen 1.5.3.