Voxeloop  0.1.0
Musical Loop Generation in Voxel World
Shader.hpp
Go to the documentation of this file.
1 #ifndef CORE_INCLUDE_SHADER_HPP
2 #define CORE_INCLUDE_SHADER_HPP
3 
4 // clang-format off
5 #include <glad/gl.h>
6 #include <GLFW/glfw3.h>
7 // clang-format on
8 #include "FileHandler.hpp"
9 
10 class Shader {
11 public:
12  Shader(const char *vertexfile, const char *fragmentfile);
13 
14 
15  void activate();
16  void remove();
17 
18  GLuint ID;
19 };
20 
21 #endif // CORE_INCLUDE_SHADER_HPP
Definition: Shader.hpp:10
void remove()
Definition: Shader.cpp:58
void activate()
Definition: Shader.cpp:56
GLuint ID
Definition: Shader.hpp:18
Shader(const char *vertexfile, const char *fragmentfile)
Definition: Shader.cpp:3