AnimEngine
Public Member Functions | List of all members
Program Class Reference

Public Member Functions

 Program (const json &program_obj)
 
 Program (istream &vertex, istream &fragment)
 
 Program (const std::string &vpath, const std::string &fpath)
 
void setVerbose (bool v)
 
bool isVerbose () const
 
GLuint getPID () const
 
bool wasBuildSuccessful ()
 
bool buildVsFsProgram (istream &vertex, istream &fragment)
 
bool buildVsFsProgram (const std::string &vertex, const std::string &fragment)
 
bool buildFromJsonArray (const json &program_obj)
 
virtual void bind ()
 
virtual void unbind ()
 
GLint getAttribute (const string &name)
 
GLint getUniform (const string &name)
 
bool hasAttribute (const string &name)
 
bool hasUniform (const string &name)
 

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