Public Member Functions | |
const TMaterialId | GetId () const |
const std::string & | GetName () const |
const Shader & | GetShader () 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::ModelShader & | m_shader |
const Lighting::GlobalLighting & | m_lighting |
const Lighting::GlobalFogging & | m_fogging |
Rendering::TextureMinifyType | m_textureMinifyType |
bool | m_textureRepeat |
bool | m_depthTesting |
Rendering::AsyncTexturing::IAsyncTexture * | m_textureId |
float | m_depthRangeNear |
float | m_depthRangeFar |
Additional Inherited Members | |
Private Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |