Engine
shader.h
1 
2 #include <string>
3 #include <fstream>
4 #include <sstream>
5 #include <iostream>
6 
7 #include <GL/glew.h>
8 #ifndef SHADER_H
9 #define SHADER_H
10 
13 class Shader
14 {
15  public:
16  GLuint Program;
17 
23  Shader(const GLchar* vertexPath, const GLchar* fragmentPath);
24 
28  void Use();
29 };
30 
31 
32 #endif
Definition: shader.h:13
void Use()
Definition: shader.cpp:75
Shader(const GLchar *vertexPath, const GLchar *fragmentPath)
Definition: shader.cpp:3