
Public Types | |
| typedef std::pair < BufferEntry, DrawElements * > | BufferEntryDrawElementsPair |
| typedef std::vector < BufferEntryDrawElementsPair > | BufferEntryDrawElementsPairs |
Public Member Functions | |
| ElementBufferObject () | |
| ElementBufferObject (const ElementBufferObject &pbo, const CopyOp ©op=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) |
| DrawElements * | getDrawElements (unsigned int i) |
| const DrawElements * | getDrawElements (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 |
| typedef std::pair< BufferEntry, DrawElements* > osg::ElementBufferObject::BufferEntryDrawElementsPair |
| typedef std::vector< BufferEntryDrawElementsPair > osg::ElementBufferObject::BufferEntryDrawElementsPairs |
| 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] |
| 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] |