All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Protected Attributes | List of all members
Eegeo::Rendering::Materials::UniformColoredMaterial Class Reference
Inheritance diagram for Eegeo::Rendering::Materials::UniformColoredMaterial:
Eegeo::Rendering::Materials::IMaterial

Public Member Functions

 UniformColoredMaterial (const TMaterialId materialId, const std::string &name, Shaders::UniformColoredShader &shader, const v4 &initialColor)
 
const TMaterialId GetId () const
 
const ShaderGetShader () const
 
const std::string & GetName () const
 
void SetState (Rendering::GLState &glState) const
 
void SetColor (const v4 &color)
 
const v4GetColor () const
 
void SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const
 

Protected Attributes

const TMaterialId m_id
 
const std::string m_name
 
Shaders::UniformColoredShaderm_shader
 
v4 m_color
 

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