Public Member Functions | |
PackedFoggedMaterial (const TMaterialId materialId, const std::string &name, Shaders::PackedDiffuseFoggedShader &shader, const Lighting::GlobalLighting &lighting, const Lighting::GlobalFogging &fogging, Rendering::TextureMinifyType textureMinifyType, bool useAlternativeAmbient, bool textureRepeat) | |
bool | IsUsingAlternativeAmbient () const |
void | UseAlternativeAmbient (bool useAlternativeAmbient) |
const TMaterialId | GetId () const |
const Shaders::PackedDiffuseFoggedShader & | GetShader () const |
const std::string & | GetName () const |
Rendering::TextureMinifyType | GetTextureMinifyType () const |
bool | GetTextureRepeat () const |
void | SetState (Rendering::GLState &glState) const |
void | SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const |
Protected Attributes | |
const TMaterialId | m_id |
const std::string | m_name |
Shaders::PackedDiffuseFoggedShader & | m_shader |
const Lighting::GlobalLighting & | m_lighting |
const Lighting::GlobalFogging & | m_fogging |
Rendering::TextureMinifyType | m_textureMinifyType |
bool | m_useAlternativeAmbient |
bool | m_textureRepeat |