DooVR
Public Member Functions | Public Attributes | List of all members
Shader Class Reference

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
 

Detailed Description

Class for loading, compiling and assembeling shader program.


The documentation for this class was generated from the following files: