All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Eegeo::Resources::Interiors::InteriorsDiffuseTranslucentShader Class Reference
Inheritance diagram for Eegeo::Resources::Interiors::InteriorsDiffuseTranslucentShader:
Eegeo::Rendering::Shader Eegeo::NonCopyable

Public Member Functions

virtual void SetMVP (const m44 &mvp) const
 
void SetUnpackModelViewProjectionMatrix (const m44 &unpackModelViewProjectionMatrix) const
 
void SetNormalToWorldMatrix (const m44 &normalToWorldMatrix) const
 
void SetDiffuseColor (const v4 &color) const
 
void SetOutlineColor (const v4 &color) const
 
void SetOutlineThickness (const float outlineThickness) const
 
void SetLightColors (const m44 &colors) const
 
void SetWorldToLightDirections (const m44 &worldSpaceToLightDirections) const
 
void Use (Rendering::GLState &glState) const
 
GLuint GetDiffuseSamplerId () const
 
- Public Member Functions inherited from Eegeo::Rendering::Shader
u32 GetId () const
 
GLuint GetUniformLocation (const std::string &uniformName) const
 
const
VertexLayouts::VertexAttribs
GetVertexAttributes () const
 

Static Public Member Functions

static
InteriorsDiffuseTranslucentShader
Create (const Rendering::TShaderId shaderId)
 

Protected Member Functions

 InteriorsDiffuseTranslucentShader (const Rendering::TShaderId shaderId, const std::string &vertexShaderCode, const std::string &fragmentShaderCode)
 
- Protected Member Functions inherited from Eegeo::Rendering::Shader
 Shader (const TShaderId shaderId)
 
void CompileProgram (const std::string &vertexShaderCode, const std::string &fragmentShaderCode)
 
void UseProgram (Rendering::GLState &glState) const
 
void SetUniformFloat (const float value, GLuint uniformLocation) const
 
void SetUniformM44 (const m44 &matrix, GLuint uniformLocation, bool transpose) const
 
void SetUniformV2 (const v2 &vec, GLuint uniformLocation) const
 
void SetUniformV3 (const v3 &vec, GLuint uniformLocation) const
 
void SetUniformV4 (const v4 &vec, GLuint uniformLocation) const
 
void SetUniformTextureSampler (Rendering::GLState &glState, GLuint samplerId, GLuint uniformLocation) const
 
void SetUniformBool (const bool value, GLuint uniformLocation) const
 
void SetUniformV4v (const v4 *vec, GLsizei count, GLuint uniformLocation) const
 
- Protected Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

Additional Inherited Members

- Protected Attributes inherited from Eegeo::Rendering::Shader
u32 m_programHandle
 

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