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

Public Member Functions

 WaterTransitionMaterial (const TMaterialId materialId, const std::string &name, Shaders::WaterTransitionShader &shader, const Lighting::GlobalLighting &lighting, const Lighting::GlobalFogging &fogging, AsyncTexturing::IAsyncTexture &fromDiffuseTextureId, AsyncTexturing::IAsyncTexture &toDiffuseTextureId, AsyncTexturing::IAsyncTexture &normalMapTextureId, AsyncTexturing::IAsyncTexture &fromReflectionTextureId, AsyncTexturing::IAsyncTexture &toReflectionTextureId, AsyncTexturing::IAsyncTexture &defaultReflectionCubeMapTextureId, Rendering::TextureMinifyType textureMinifyType, bool useAlternativeAmbient, bool textureRepeat, Eegeo::v2 animationScaleUV, Eegeo::v2 animationWrapUV, float envMapFadeoutAltitude)
 
bool IsUsingAlternativeAmbient () const
 
void UseAlternativeAmbient (bool useAlternativeAmbient)
 
const TMaterialId GetId () const
 
const ShaderGetShader () const
 
const std::string & GetName () const
 
void SetFromDiffuseTexture (AsyncTexturing::IAsyncTexture &textureId)
 
AsyncTexturing::IAsyncTextureGetFromDiffuseTextureId () const
 
void SetToDiffuseTexture (AsyncTexturing::IAsyncTexture &textureId)
 
AsyncTexturing::IAsyncTextureGetToDiffuseTextureId () const
 
void SetNormalMapTexture (AsyncTexturing::IAsyncTexture &textureId)
 
AsyncTexturing::IAsyncTextureGetNormalMapTextureId () const
 
void SetFromReflectionTexture (AsyncTexturing::IAsyncTexture *textureId)
 
AsyncTexturing::IAsyncTextureGetFromReflectionTextureId () const
 
void SetToReflectionTexture (AsyncTexturing::IAsyncTexture *textureId)
 
AsyncTexturing::IAsyncTextureGetToReflectionTextureId () const
 
void SetLerpParam (float t)
 
float GetLerpParam () const
 
void UpdateMaterial (float deltaTime, const dv3 &ecefCameraPosition)
 
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::WaterTransitionShaderm_shader
 
const Lighting::GlobalLightingm_lighting
 
const Lighting::GlobalFoggingm_fogging
 
AsyncTexturing::IAsyncTexturem_fromDiffuseTextureId
 
AsyncTexturing::IAsyncTexturem_toDiffuseTextureId
 
AsyncTexturing::IAsyncTexturem_normalMapTextureId
 
AsyncTexturing::IAsyncTexturem_fromReflectionMapTextureId
 
AsyncTexturing::IAsyncTexturem_toReflectionMapTextureId
 
AsyncTexturing::IAsyncTexturem_defaultReflectionCubeMapTextureId
 
Rendering::TextureMinifyType m_textureMinifyType
 
bool m_textureRepeat
 
bool m_useAlternativeAmbient
 
float m_altitudeScale
 
Eegeo::v2 m_animationScaleUV
 
Eegeo::v2 m_animationWrapUV
 
Eegeo::v4 m_animationStateUV
 
float m_lerpParam
 
float m_envMapFadeoutAltitude
 

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