Voxeloop  0.1.0
Musical Loop Generation in Voxel World
VAO.hpp
Go to the documentation of this file.
1 #ifndef CORE_INCLUDE_VAO_HPP
2 #define CORE_INCLUDE_VAO_HPP
3 
4 #include <glad/gl.h>
5 
6 #include "VBO.hpp"
7 
8 class VAO {
9 public:
10  VAO();
11  GLuint ID;
12 
13  void linkAttrib(VBO &vbo, GLuint layout, GLuint numComponents, GLenum type,
14  GLsizeiptr stride, void *offset);
15 
16  void bind();
17  void unbind();
18  void remove();
19 };
20 
21 #endif // CORE_INCLUDE_VAO_HPP
Definition: VAO.hpp:8
void linkAttrib(VBO &vbo, GLuint layout, GLuint numComponents, GLenum type, GLsizeiptr stride, void *offset)
Definition: VAO.cpp:11
VAO()
Definition: VAO.cpp:3
void bind()
Definition: VAO.cpp:5
void unbind()
Definition: VAO.cpp:7
GLuint ID
Definition: VAO.hpp:11
void remove()
Definition: VAO.cpp:9
Definition: VBO.hpp:6