Public Member Functions | |
PackedTransitionMaterial (const TMaterialId materialId, const std::string &name, Shaders::PackedDiffuseTransitionShader &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 Shader & | GetShader () const |
const std::string & | GetName () const |
void | SetLerpParam (float t) |
float | GetLerpParam () const |
void | SetState (Rendering::GLState &glState) const |
void | SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const |
Protected Member Functions | |
void | SetMVP (const m44 &mvp) const |
void | SetUVBounds (const Eegeo::v2 &min, const Eegeo::v2 &max) const |
void | SetLerpParam (float t) const |
Protected Attributes | |
const TMaterialId | m_id |
const std::string | m_name |
Shaders::PackedDiffuseTransitionShader & | m_shader |
const Lighting::GlobalLighting & | m_lighting |
const Lighting::GlobalFogging & | m_fogging |
float | m_lerpParam |
Rendering::TextureMinifyType | m_textureMinifyType |
bool | m_textureRepeat |
bool | m_useAlternativeAmbient |