OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Member Functions | List of all members
Engine::GLVertexArrayObject Class Reference

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)
 
IGBuffergetAttachBuffer (uint attribute_id)
 
void DrawArrays (void)
 
void DrawElements (void)
 
void DrawElementsIndirect (int index_size, int drawcount)
 
void DrawElementsIndirect (int drawcount)
 
void DrawElementsInstanced (int drawcount)
 

Detailed Description

The GLVertexArrayObject class.

Member Function Documentation

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 ...

Parameters
draw_mode
void GLVertexArrayObject::Unbind ( void  )

Unbind.

Use not VAO ID Public


The documentation for this class was generated from the following files: