
Public Types | |
| typedef std::pair < BufferEntry, Array * > | BufferEntryArrayPair |
| typedef std::vector < BufferEntryArrayPair > | BufferEntryArrayPairs |
Public Member Functions | |
| VertexBufferObject () | |
| VertexBufferObject (const VertexBufferObject &vbo, const CopyOp ©op=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) |
| Array * | getArray (unsigned int i) |
| const Array * | getArray (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 |
| typedef std::pair< BufferEntry, Array* > osg::VertexBufferObject::BufferEntryArrayPair |
| typedef std::vector< BufferEntryArrayPair > osg::VertexBufferObject::BufferEntryArrayPairs |
| 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] |
| 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] |