## class PrimitiveFunctor

### Public Methods

virtual ~PrimitiveFunctor()
virtual void setVertexArray(unsigned int count, const Vec2* vertices) = 0
virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0
virtual void setVertexArray(unsigned int count, const Vec4* vertices) = 0
virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0
virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0
virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0
virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0
virtual void begin(GLenum mode) = 0
virtual void vertex(const Vec2& vert) = 0
virtual void vertex(const Vec3& vert) = 0
virtual void vertex(const Vec4& vert) = 0
virtual void vertex(float x, float y) = 0
virtual void vertex(float x, float y, float z) = 0
virtual void vertex(float x, float y, float z, float w) = 0
virtual void end() = 0

## Documentation

`virtual ~PrimitiveFunctor()`

`virtual void setVertexArray(unsigned int count, const Vec2* vertices) = 0`

`virtual void setVertexArray(unsigned int count, const Vec3* vertices) = 0`

`virtual void setVertexArray(unsigned int count, const Vec4* vertices) = 0`

`virtual void drawArrays(GLenum mode, GLint first, GLsizei count) = 0`

`virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* indices) = 0`

`virtual void drawElements(GLenum mode, GLsizei count, const GLushort* indices) = 0`

`virtual void drawElements(GLenum mode, GLsizei count, const GLuint* indices) = 0`

`virtual void begin(GLenum mode) = 0`

`virtual void vertex(const Vec2& vert) = 0`

`virtual void vertex(const Vec3& vert) = 0`

`virtual void vertex(const Vec4& vert) = 0`

`virtual void vertex(float x, float y) = 0`

`virtual void vertex(float x, float y, float z) = 0`

`virtual void vertex(float x, float y, float z, float w) = 0`

`virtual void end() = 0`

This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java

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