BMC Engine v1.0.0
An open-source game engine powered by C and C++
Loading...
Searching...
No Matches
EBO Class Reference

#include <EBO.h>

Public Member Functions

 EBO (GLuint *inds, int length)
 
void bind ()
 
void unbind ()
 
void cleanup ()
 

Public Attributes

GLuint id
 

Detailed Description

Element buffer object

Constructor & Destructor Documentation

◆ EBO()

EBO::EBO ( GLuint * inds,
int length )

Create the EBO.

Parameters
indsThe indices array.
lengthThe amount of items in the indices array.

Member Function Documentation

◆ bind()

void EBO::bind ( )

Bind the EBO buffer.

◆ cleanup()

void EBO::cleanup ( )

Delete the EBO buffer.

◆ unbind()

void EBO::unbind ( )

Unbind the EBO buffer.

Member Data Documentation

◆ id

GLuint EBO::id

The ID to store the EBO to.


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