All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CustomLandmarkDiffuseFoggedMaterial.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "PackedFoggedMaterial.h"
6 #include "IdTypes.h"
7 #include "Lighting.h"
8 #include "Rendering.h"
9 #include <string>
10 
11 namespace Eegeo
12 {
13  namespace Rendering
14  {
15  namespace Materials
16  {
18  {
19  public:
21  const TMaterialId materialId,
22  const std::string& name,
24  const Lighting::GlobalLighting& lighting,
25  const Lighting::GlobalFogging& fogging,
26  Rendering::TextureMinifyType textureMinifyType,
27  bool useAlternativeAmbient,
28  bool textureRepeat
29  );
30 
31  void SetState(Rendering::GLState& glState) const;
32 
33  void SetStatePerRenderable(const Rendering::RenderableBase* renderableBase, Rendering::GLState& glState) const;
34 
35  void SetLandmarkPostfix(const std::string& postfix);
36 
37  void SetDiffuseTexture(Rendering::AsyncTexturing::IAsyncTexture& textureId);
38  Rendering::AsyncTexturing::IAsyncTexture& GetTextureId() const;
39  private:
40  std::string m_currentThemeStateLandmarkPostfix;
41  };
42  }
43  }
44 }