#include <VisVertexArrayPA.h>
Inherits Vis::VertexArray< Vis::VertexPA >.
Public Member Functions | |
VertexArrayPA () | |
~VertexArrayPA () | |
void | bind () |
void | render (const int start, const int size) |
void | setDrawMode (GLenum mode) |
void | unbind () |
Vis::VertexArrayPA::VertexArrayPA | ( | ) |
ctor.
Vis::VertexArrayPA::~VertexArrayPA | ( | ) |
dtor.
void Vis::VertexArrayPA::bind | ( | ) | [virtual] |
Bind the vertex array.
Implements Vis::VertexArray< T >.
void Vis::VertexArrayPA::render | ( | const int | start, | |
const int | size | |||
) | [virtual] |
Render triangles defined by the vertex- and index-array.
start | start-index in the index array | |
size | size of indices to render. |
Implements Vis::VertexArray< T >.
void Vis::VertexArrayPA::setDrawMode | ( | GLenum | mode | ) |
Set the draw mode. mode draw mode (eg. GL_TRIANGLES)
void Vis::VertexArrayPA::unbind | ( | ) | [virtual] |
Unbind the vertex array.
Implements Vis::VertexArray< T >.