class SG_EXPORT osg::DrawArrays


Inheritance:


Public Methods

[more] DrawArrays(GLenum mode=0)
[more] DrawArrays(GLenum mode, GLint first, GLsizei count)
[more] DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual Object* cloneType() const
[more]virtual Object* clone(const CopyOp& copyop) const
[more]virtual bool isSameKindAs(const Object* obj) const
[more]virtual const char* libraryName() const
[more]virtual const char* className() const
[more]void set(GLenum mode, GLint first, GLsizei count)
[more]void setFirst(GLint first)
[more]GLint getFirst() const
[more]void setCount(GLsizei count)
[more]GLsizei getCount() const
[more]virtual void draw() const
[more]virtual void accept(Drawable::PrimitiveFunctor& functor) const
[more]virtual unsigned int getNumIndices() const
[more]virtual unsigned int index(unsigned int pos) const
[more]virtual void offsetIndices(int offset)

Protected Fields

[more]GLint _first
[more]GLsizei _count


Inherited from PrimitiveSet:

Public Methods

oType getType() const
ovoid setMode(GLenum mode)
oGLenum getMode() const
ovirtual unsigned int getNumPrimitives() const

Public Members

oenum Type
oenum Mode

Protected Fields

oType _primitiveType
oGLenum _mode


Inherited from Object:

Public Methods

oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline static int createdCount()
oinline static int deletedCount()

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


Documentation

o DrawArrays(GLenum mode=0)

o DrawArrays(GLenum mode, GLint first, GLsizei count)

o DrawArrays(const DrawArrays& da, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

ovirtual Object* cloneType() const

ovirtual Object* clone(const CopyOp& copyop) const

ovirtual bool isSameKindAs(const Object* obj) const

ovirtual const char* libraryName() const

ovirtual const char* className() const

ovoid set(GLenum mode, GLint first, GLsizei count)

ovoid setFirst(GLint first)

oGLint getFirst() const

ovoid setCount(GLsizei count)

oGLsizei getCount() const

ovirtual void draw() const

ovirtual void accept(Drawable::PrimitiveFunctor& functor) const

ovirtual unsigned int getNumIndices() const

ovirtual unsigned int index(unsigned int pos) const

ovirtual void offsetIndices(int offset)

oGLint _first

oGLsizei _count


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.