OpenSceneGraph
3.0.1
|
Public Member Functions | |
DrawElements (Type primType=PrimitiveType, GLenum mode=0, int numInstances=0) | |
DrawElements (const DrawElements ©, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
virtual DrawElements * | getDrawElements () |
virtual const DrawElements * | getDrawElements () const |
void | setElementBufferObject (osg::ElementBufferObject *ebo) |
Set the ElementBufferObject. | |
osg::ElementBufferObject * | getElementBufferObject () |
Get the ElementBufferObject. | |
const osg::ElementBufferObject * | getElementBufferObject () const |
Get the const ElementBufferObject. | |
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 () |
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] |
virtual void osg::DrawElements::addElement | ( | unsigned | int | ) | [pure virtual] |
Implemented in osg::DrawElementsUInt, osg::DrawElementsUShort, and osg::DrawElementsUByte.
virtual DrawElements* osg::DrawElements::getDrawElements | ( | ) | [inline, virtual] |
Reimplemented from osg::PrimitiveSet.
virtual const DrawElements* osg::DrawElements::getDrawElements | ( | ) | const [inline, virtual] |
Reimplemented from osg::PrimitiveSet.
virtual unsigned int osg::DrawElements::getElement | ( | unsigned | int | ) | [pure virtual] |
Implemented in osg::DrawElementsUInt, osg::DrawElementsUShort, and osg::DrawElementsUByte.
osg::ElementBufferObject* osg::DrawElements::getElementBufferObject | ( | ) | [inline] |
Get the ElementBufferObject.
If no EBO is assigned returns NULL
References osg::BufferData::_bufferObject, and osg::ref_ptr::get().
const osg::ElementBufferObject* osg::DrawElements::getElementBufferObject | ( | ) | const [inline] |
Get the const ElementBufferObject.
If no EBO is assigned returns NULL
References osg::BufferData::_bufferObject, and osg::ref_ptr::get().
virtual void osg::DrawElements::reserveElements | ( | unsigned int | numIndices | ) | [pure virtual] |
Implemented in osg::DrawElementsUInt, osg::DrawElementsUShort, and osg::DrawElementsUByte.
virtual void osg::DrawElements::setElement | ( | unsigned | int, |
unsigned | int | ||
) | [pure virtual] |
Implemented in osg::DrawElementsUInt, osg::DrawElementsUShort, and osg::DrawElementsUByte.
void osg::DrawElements::setElementBufferObject | ( | osg::ElementBufferObject * | ebo | ) | [inline] |
Set the ElementBufferObject.
References osg::BufferData::setBufferObject().
![]() | Generated at Mon Oct 3 2011 12:39:43 for the OpenSceneGraph by doxygen 1.7.5. |