BMC Engine v1.0.0
An open-source game engine powered by C and C++
|
#include <VAO.h>
Public Member Functions | |
VAO () | |
void | bind () |
void | unbind () |
void | cleanup () |
Public Attributes | |
GLuint | id |
Vertex array object
VAO::VAO | ( | ) |
Create the VAO.
void VAO::bind | ( | ) |
Bind the VAO buffer.
void VAO::cleanup | ( | ) |
Delete the VAO buffer.
void VAO::unbind | ( | ) |
Unbind the VAO buffer.
GLuint VAO::id |
The ID to store the VAO to.