DooVR
|
Class for loading, compiling and assembeling shader program. More...
#include <Shader.h>
Public Member Functions | |
Shader (const char *vertexFilePath, const char *fragmentFilePath) | |
Loads the files, comiles the shaders and assembles the shader program. | |
~Shader () | |
Deletes the program if it was compiled. | |
void | createShader () |
void | createShader (const char *vertexFilePath, const char *fragmentFilePath) |
Creates, loads, compiles and links the GLSL shader objects. | |
Public Attributes | |
GLuint | programID |
Class for loading, compiling and assembeling shader program.