Voxeloop  0.1.0
Musical Loop Generation in Voxel World
VBO.hpp
Go to the documentation of this file.
1 #ifndef CORE_INCLUDE_VBO_HPP
2 #define CORE_INCLUDE_VBO_HPP
3 
4 #include <glad/gl.h>
5 
6 class VBO {
7 public:
8  GLuint ID;
9  VBO(GLfloat *vertices, GLsizeiptr size);
10  VBO();
11 
12  void setup(GLfloat *vertices, GLsizeiptr size);
13  void bind();
14  void unbind();
15  void remove();
16 };
17 
18 #endif // CORE_INCLUDE_VBO_HPP
Definition: VBO.hpp:6
GLuint ID
Definition: VBO.hpp:8
void bind()
Definition: VBO.cpp:17
void remove()
Definition: VBO.cpp:21
void unbind()
Definition: VBO.cpp:19
VBO()
Definition: VBO.cpp:3
void setup(GLfloat *vertices, GLsizeiptr size)
Definition: VBO.cpp:11