GUInity
Public Member Functions | Public Attributes | List of all members
Shader Class Reference
Inheritance diagram for Shader:
Asset

Public Member Functions

 Shader (string vertex_file_path, string fragment_file_path)
 
void LoadShaders ()
 
void checkLine (const string &Line)
 
void createUniformLocation ()
 
- Public Member Functions inherited from Asset
 Asset ()
 
virtual ~Asset ()
 
void setAssetID (unsigned int newAssetID)
 
unsigned int getAssetID () const
 
string getPath ()
 
void setPath (string newPath)
 
void setName (string name)
 
string getName ()
 
void setCRC (int crc)
 
int setCRC ()
 

Public Attributes

string vsFilename
 
string fsFilename
 
map< string, ShaderParamType > params
 
map< string, GLuint > paramID
 
GLuint programID
 

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