BMC Engine v1.0.0
An open-source game engine powered by C and C++
|
#include <EBO.h>
Public Member Functions | |
EBO (GLuint *inds, int length) | |
void | bind () |
void | unbind () |
void | cleanup () |
Public Attributes | |
GLuint | id |
Element buffer object
EBO::EBO | ( | GLuint * | inds, |
int | length ) |
Create the EBO.
inds | The indices array. |
length | The amount of items in the indices array. |
void EBO::bind | ( | ) |
Bind the EBO buffer.
void EBO::cleanup | ( | ) |
Delete the EBO buffer.
void EBO::unbind | ( | ) |
Unbind the EBO buffer.
GLuint EBO::id |
The ID to store the EBO to.