Inheritance:
Public Methods
-
TriangleFunctor()
-
virtual ~TriangleFunctor()
-
virtual void setVertexArray(unsigned int count, Vec3* vertices)
-
virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
-
virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices)
-
virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices)
-
virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices)
-
inline void begin(GLenum mode)
- begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives.
-
inline void vertex(const Vec3& vert)
-
inline void vertex(float x, float y, float z)
-
inline void end()
Protected Fields
-
unsigned int _vertexArraySize
-
Vec3* _vertexArrayPtr
-
GLenum _modeCache
-
std::vector<Vec3> _vertexCache
Documentation
- TriangleFunctor()
- virtual ~TriangleFunctor()
- virtual void setVertexArray(unsigned int count, Vec3* vertices)
- virtual void drawArrays(GLenum mode, GLint first, GLsizei count)
- virtual void drawElements(GLenum mode, GLsizei count, GLubyte* indices)
- virtual void drawElements(GLenum mode, GLsizei count, GLushort* indices)
- virtual void drawElements(GLenum mode, GLsizei count, GLuint* indices)
- inline void begin(GLenum mode)
- begin(),vertex() & end() are convinience methods for adapting
non vertex array primitives to vertex array based primitives.
this is done to simplify the implementation of primtive functor
subclasses - users only need override drawArray and drawElements.
- inline void vertex(const Vec3& vert)
- inline void vertex(float x, float y, float z)
- inline void end()
- unsigned int _vertexArraySize
- Vec3* _vertexArrayPtr
- GLenum _modeCache
- std::vector<Vec3> _vertexCache
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.