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

Public Member Functions

 LightmappedPackedDiffuseMaterial (const TMaterialId materialId, const std::string &name, Shaders::LightmappedPackedDiffuseShader &shader, const Lighting::GlobalLighting &lighting, const Lighting::GlobalFogging &fogging, Rendering::AsyncTexturing::IAsyncTexture &textureId, Rendering::TextureMinifyType textureMinifyType, bool useAlternativeAmbient, bool textureRepeat)
 
bool IsUsingAlternativeAmbient () const
 
void UseAlternativeAmbient (bool useAlternativeAmbient)
 
const TMaterialId GetId () const
 
const ShaderGetShader () const
 
const std::string & GetName () const
 
void SetDiffuseTexture (Rendering::AsyncTexturing::IAsyncTexture &textureId)
 
Rendering::AsyncTexturing::IAsyncTextureGetTextureId () const
 
void SetState (Rendering::GLState &glState) const
 
void SetStatePerRenderable (const Rendering::RenderableBase *renderableBase, Rendering::GLState &glState) const
 

Protected Member Functions

void BindLightmapTexture (Rendering::GLState &glState, TTextureId lightmapId) const
 

Protected Attributes

const TMaterialId m_id
 
const std::string m_name
 
const
Shaders::LightmappedPackedDiffuseShader
m_shader
 
const Lighting::GlobalLightingm_lighting
 
const Lighting::GlobalFoggingm_fogging
 
Rendering::AsyncTexturing::IAsyncTexturem_textureId
 
Rendering::TextureMinifyType m_textureMinifyType
 
bool m_textureRepeat
 
bool m_useAlternativeAmbient
 

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