Inheritance:
Public Methods
-
Primitive(Type primType=PrimitiveType, GLenum mode=0)
-
Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
-
virtual bool isSameKindAs(const Object* obj) const
-
virtual const char* libraryName() const
-
virtual const char* className() const
-
Type getType() const
-
void setMode(GLenum mode)
-
GLenum getMode() const
-
virtual void draw() const = 0
-
virtual void accept(Drawable::PrimitiveFunctor&)
-
virtual void offsetIndices(int offset) = 0
Public Members
-
enum Type
-
enum Mode
Protected Fields
-
Type _primitiveType
-
GLenum _mode
Inherited from Object:
Public Methods
-
virtual Object* cloneType() const
-
virtual Object* clone(const CopyOp&) const
-
inline void setDataVariance(const DataVariance dv)
-
inline const DataVariance getDataVariance() const
-
inline void setUserData(Referenced* obj)
-
inline Referenced* getUserData()
-
inline const Referenced* getUserData() const
Public Members
-
enum DataVariance
Protected Fields
-
DataVariance _dataVariance
-
ref_ptr<Referenced> _userData
Public Methods
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
-
inline void unref() const
-
inline void unref_nodelete() const
-
inline const int referenceCount() const
Protected Fields
-
mutable int _refCount
Documentation
- enum Type
- PrimitiveType
- DrawArraysPrimitiveType
- DrawArrayLengthsPrimitiveType
- DrawElementsUBytePrimitiveType
- DrawElementsUShortPrimitiveType
- DrawElementsUIntPrimitiveType
- enum Mode
- POINTS
- LINES
- LINE_STRIP
- LINE_LOOP
- TRIANGLES
- TRIANGLE_STRIP
- TRIANGLE_FAN
- QUADS
- QUAD_STRIP
- POLYGON
- Primitive(Type primType=PrimitiveType, GLenum mode=0)
- Primitive(const Primitive& prim, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
- virtual bool isSameKindAs(const Object* obj) const
- virtual const char* libraryName() const
- virtual const char* className() const
- Type getType() const
- void setMode(GLenum mode)
- GLenum getMode() const
- virtual void draw() const = 0
- virtual void accept(Drawable::PrimitiveFunctor&)
- virtual void offsetIndices(int offset) = 0
- Type _primitiveType
- GLenum _mode
- Direct child classes:
- DrawElementsUShort
DrawElementsUInt
DrawElementsUByte
DrawArrays
DrawArrayLengths
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.