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

Public Member Functions

const TMaterialId GetId () const
 
const std::string & GetName () const
 
const ShaderGetShader () const
 
const float GetAlpha () const
 
void SetAlpha (float alpha)
 
void SetDepthTestingEnabled (bool enabled)
 
const bool GetDepthTestingEnabled () const
 
void SetDepthRange (float near, float far)
 
void SetState (Rendering::GLState &glState) const
 
virtual void SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const
 
virtual void SetDiffuseTexture (Rendering::AsyncTexturing::IAsyncTexture &textureId)
 
virtual
Rendering::AsyncTexturing::IAsyncTexture
GetTextureId () const
 

Static Public Member Functions

 ModelMaterial (const TMaterialId materialId, const std::string &name, Shaders::ModelShader &shader, const Lighting::GlobalLighting &lighting, const Lighting::GlobalFogging &fogging, AsyncTexturing::IAsyncTexture &texture, Rendering::TextureMinifyType textureMinifyType, bool textureRepeat, bool usesAlternateAmbient)
 

Protected Attributes

const TMaterialId m_id
 
const std::string m_name
 
float m_alpha
 
bool m_usesAlternateAmbient
 
Shaders::ModelShaderm_shader
 
const Lighting::GlobalLightingm_lighting
 
const Lighting::GlobalFoggingm_fogging
 
Rendering::TextureMinifyType m_textureMinifyType
 
bool m_textureRepeat
 
bool m_depthTesting
 
Rendering::AsyncTexturing::IAsyncTexturem_textureId
 
float m_depthRangeNear
 
float m_depthRangeFar
 

Additional Inherited Members

- Private Member Functions inherited from Eegeo::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 

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