Public Types | |
typedef std::vector< GLushort > | vector_type |
Public Member Functions | |
DrawElementsUShort (GLenum mode=0) | |
DrawElementsUShort (const DrawElementsUShort &array, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
DrawElementsUShort (GLenum mode, unsigned int no, GLushort *ptr) | |
DrawElementsUShort (GLenum mode, unsigned int no) | |
template<class InputIterator> | DrawElementsUShort (GLenum mode, InputIterator first, InputIterator last) |
virtual Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual Object * | clone (const CopyOp ©op) const |
Clone an object, with Object* return type. | |
virtual bool | isSameKindAs (const Object *obj) const |
virtual const char * | libraryName () const |
return the name of the object's library. | |
virtual const char * | className () const |
return the name of the object's class type. | |
virtual const GLvoid * | getDataPointer () const |
virtual unsigned int | getTotalDataSize () const |
virtual bool | supportsBufferObject () const |
virtual void | draw (State &state, bool useVertexBufferObjects) const |
virtual void | accept (PrimitiveFunctor &functor) const |
virtual void | accept (PrimitiveIndexFunctor &functor) const |
virtual unsigned int | getNumIndices () const |
virtual unsigned int | index (unsigned int pos) const |
virtual void | offsetIndices (int offset) |
Protected Types | |
typedef osg::buffered_value< GLuint > | GLObjectList |
Protected Member Functions | |
virtual | ~DrawElementsUShort () |
Protected Attributes | |
GLObjectList | _vboList |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implements osg::PrimitiveSet. |
|
Implements osg::PrimitiveSet. |
|
return the name of the object's class type. Must be defined by derived classes. Reimplemented from osg::PrimitiveSet. |
|
Clone an object, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
Clone the type of an object, with Object* return type. Must be defined by derived classes. Implements osg::Object. |
|
Implements osg::PrimitiveSet. |
|
Reimplemented from osg::PrimitiveSet. |
|
Implements osg::PrimitiveSet. |
|
Reimplemented from osg::PrimitiveSet. |
|
Implements osg::PrimitiveSet. |
|
Reimplemented from osg::PrimitiveSet. |
|
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. Reimplemented from osg::PrimitiveSet. |
|
Implements osg::PrimitiveSet. |
|
Reimplemented from osg::PrimitiveSet. |
|
|