Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

osg::DrawElementsUShort Class Reference

Inheritance diagram for osg::DrawElementsUShort:
Inheritance graph
[legend]

List of all members.

Public Types

typedef VectorGLushort vector_type

Public Member Functions

 DrawElementsUShort (GLenum mode=0)
 DrawElementsUShort (const DrawElementsUShort &array, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 DrawElementsUShort (GLenum mode, unsigned int no, const GLushort *ptr, int numInstances=0)
 DrawElementsUShort (GLenum mode, unsigned int no)
template<class InputIterator >
 DrawElementsUShort (GLenum mode, InputIterator first, InputIterator last)
virtual ObjectcloneType () const
virtual Objectclone (const CopyOp &copyop) const
virtual bool isSameKindAs (const Object *obj) const
virtual const char * libraryName () const
virtual const char * className () const
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)
virtual void computeRange () const

Protected Member Functions

virtual ~DrawElementsUShort ()

Protected Attributes

unsigned int _minIndex
unsigned int _maxIndex

Member Typedef Documentation

Reimplemented from osg::MixinVector< ValueT >.


Constructor & Destructor Documentation

osg::DrawElementsUShort::DrawElementsUShort ( GLenum  mode = 0  )  [inline]
osg::DrawElementsUShort::DrawElementsUShort ( const DrawElementsUShort array,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]
osg::DrawElementsUShort::DrawElementsUShort ( GLenum  mode,
unsigned int  no,
const GLushort *  ptr,
int  numInstances = 0 
) [inline]
osg::DrawElementsUShort::DrawElementsUShort ( GLenum  mode,
unsigned int  no 
) [inline]
template<class InputIterator >
osg::DrawElementsUShort::DrawElementsUShort ( GLenum  mode,
InputIterator  first,
InputIterator  last 
) [inline]
virtual osg::DrawElementsUShort::~DrawElementsUShort (  )  [protected, virtual]

Member Function Documentation

virtual void osg::DrawElementsUShort::accept ( PrimitiveFunctor functor  )  const [virtual]
virtual void osg::DrawElementsUShort::accept ( PrimitiveIndexFunctor functor  )  const [virtual]
virtual const char* osg::DrawElementsUShort::className (  )  const [inline, virtual]
virtual Object* osg::DrawElementsUShort::clone ( const CopyOp copyop  )  const [inline, virtual]
virtual Object* osg::DrawElementsUShort::cloneType (  )  const [inline, virtual]
virtual void osg::DrawElementsUShort::computeRange (  )  const [inline, virtual]
virtual void osg::DrawElementsUShort::draw ( State state,
bool  useVertexBufferObjects 
) const [virtual]
virtual const GLvoid* osg::DrawElementsUShort::getDataPointer (  )  const [inline, virtual]
virtual unsigned int osg::DrawElementsUShort::getNumIndices (  )  const [inline, virtual]
virtual unsigned int osg::DrawElementsUShort::getTotalDataSize (  )  const [inline, virtual]
virtual unsigned int osg::DrawElementsUShort::index ( unsigned int  pos  )  const [inline, virtual]
virtual bool osg::DrawElementsUShort::isSameKindAs ( const Object obj  )  const [inline, virtual]

References NULL.

virtual const char* osg::DrawElementsUShort::libraryName (  )  const [inline, virtual]
virtual void osg::DrawElementsUShort::offsetIndices ( int  offset  )  [virtual]
virtual bool osg::DrawElementsUShort::supportsBufferObject (  )  const [inline, virtual]

Member Data Documentation

unsigned int osg::DrawElementsUShort::_maxIndex [mutable, protected]
unsigned int osg::DrawElementsUShort::_minIndex [mutable, protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Wed Nov 3 2010 02:40:16 for the OpenSceneGraph by doxygen 1.7.1.