osg::VertexBufferObject Class Reference

Inheritance diagram for osg::VertexBufferObject:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::pair
< BufferEntry, Array * > 
BufferEntryArrayPair
typedef std::vector
< BufferEntryArrayPair
BufferEntryArrayPairs

Public Member Functions

 VertexBufferObject ()
 VertexBufferObject (const VertexBufferObject &vbo, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.
 META_Object (osg, VertexBufferObject)
unsigned int addArray (osg::Array *array)
void removeArray (osg::Array *array)
void setArray (unsigned int i, Array *array)
ArraygetArray (unsigned int i)
const ArraygetArray (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 ~VertexBufferObject ()

Protected Attributes

BufferEntryArrayPairs _bufferEntryArrayPairs


Member Typedef Documentation

typedef std::pair< BufferEntry, Array* > osg::VertexBufferObject::BufferEntryArrayPair

typedef std::vector< BufferEntryArrayPair > osg::VertexBufferObject::BufferEntryArrayPairs


Constructor & Destructor Documentation

osg::VertexBufferObject::VertexBufferObject (  ) 

osg::VertexBufferObject::VertexBufferObject ( const VertexBufferObject vbo,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
)

Copy constructor using CopyOp to manage deep vs shallow copy.

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


Member Function Documentation

osg::VertexBufferObject::META_Object ( osg  ,
VertexBufferObject   
)

unsigned int osg::VertexBufferObject::addArray ( osg::Array array  ) 

void osg::VertexBufferObject::removeArray ( osg::Array array  ) 

void osg::VertexBufferObject::setArray ( unsigned int  i,
Array array 
)

Array* osg::VertexBufferObject::getArray ( unsigned int  i  )  [inline]

const Array* osg::VertexBufferObject::getArray ( unsigned int  i  )  const [inline]

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

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

Implements osg::BufferObject.

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

Resize any per context GLObject buffers to specified size.

Reimplemented from osg::BufferObject.


Member Data Documentation

BufferEntryArrayPairs osg::VertexBufferObject::_bufferEntryArrayPairs [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.