Couch
Public Member Functions | Public Attributes | List of all members
Shader Class Reference
Inheritance diagram for Shader:
Inheritance graph
[legend]

Public Member Functions

 Shader (const char *vertexCode, const char *fragmentCode)
 
void Use ()
 
void UpdateView (Matrix view)
 
void UpdateModel (Matrix model)
 
void UpdateProjection (Matrix projection)
 
void UpdateNormal (glm::mat3 normal)
 
void UpdateMaterial (Material material)
 
void UpdateDirectionalLight (DirectionalLight directionalLight)
 
void UpdatePointLights (PointLightList pointLights)
 
virtual Name GetName () const
 

Public Attributes

Id id
 

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