GlobeEngine
VertexArrayObject.h
Go to the documentation of this file.
1 
11 #ifndef GlobeEngine_VertexArrayObject_h
12 #define GlobeEngine_VertexArrayObject_h
13 
14 #include "OpenGL_Includes.h"
15 
16 namespace ge {
18  {
19  public:
22 
23 #if defined(GENGINE_GL_ES)
24 #else
25  void generateHandle();
26  /*
27  * binds the vertex array
28  */
29  void bind();
30 
31  /*
32  * unbinds the vertex array
33  */
34  void unbind();
35 
36  GLuint getHandle();
37 #endif
38 
39  private:
40  GLuint vaoHandle;
41  };
42 }
43 #endif
void unbind()
Definition: VertexArrayObject.cpp:35
void generateHandle()
Definition: VertexArrayObject.cpp:16
void bind()
Definition: VertexArrayObject.cpp:28
GLuint getHandle()
Definition: VertexArrayObject.cpp:39
Definition: AvalancheTrainingSimulationEngine.h:28
VertexArrayObject()
Definition: VertexArrayObject.cpp:4
Definition: VertexArrayObject.h:17
~VertexArrayObject()
Definition: VertexArrayObject.cpp:8