OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The GLVertexArrayObject class. More...
#include <glvertexarrayobject.h>
Public Member Functions | |
void | setDrawMode (GLenum draw_mode) |
setDrawMode More... | |
void | create (void) |
create More... | |
void | Bind (void) |
Bind. More... | |
void | Unbind (void) |
Unbind. More... | |
void | AttachBuffer (GLVertexBuffer *vbo_vertex_buffer) |
void | AttachBuffer (GLElementBuffer *vbo_element_buffer) |
void | AttachBuffer (AttributeCmd &cmd) |
void | AttachBuffer (uint attribute_id, IGBuffer *vbo_buffer) |
IGBuffer * | getAttachBuffer (uint attribute_id) |
void | DrawArrays (void) |
void | DrawElements (void) |
void | DrawElementsIndirect (int index_size, int drawcount) |
void | DrawElementsIndirect (int drawcount) |
void | DrawElementsInstanced (int drawcount) |
The GLVertexArrayObject class.
void GLVertexArrayObject::Bind | ( | void | ) |
Bind.
Use VAO ID Public
void GLVertexArrayObject::create | ( | void | ) |
create
Create VAO ID
void GLVertexArrayObject::setDrawMode | ( | GLenum | draw_mode | ) |
setDrawMode
DrawModes: GL_TRIANGLES | GL_POINTS ...
draw_mode |
void GLVertexArrayObject::Unbind | ( | void | ) |
Unbind.
Use not VAO ID Public