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
VBO.hpp
VAO
Definition:
VAO.hpp:8
VAO::linkAttrib
void linkAttrib(VBO &vbo, GLuint layout, GLuint numComponents, GLenum type, GLsizeiptr stride, void *offset)
Definition:
VAO.cpp:11
VAO::VAO
VAO()
Definition:
VAO.cpp:3
VAO::bind
void bind()
Definition:
VAO.cpp:5
VAO::unbind
void unbind()
Definition:
VAO.cpp:7
VAO::ID
GLuint ID
Definition:
VAO.hpp:11
VAO::remove
void remove()
Definition:
VAO.cpp:9
VBO
Definition:
VBO.hpp:6
core
include
VAO.hpp
Generated by
1.9.0