All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
CustomLandmarkDiffuseTransitionMaterial.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "IdTypes.h"
6 #include "PackedTransitionMaterial.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  void SetStatePerRenderable(const Rendering::RenderableBase* renderableBase, Rendering::GLState& glState) const;
33  void SetLandmarkPostfix(const std::string& fromPostfix, const std::string& toPostfix);
34 
35  protected:
36  std::string m_fromThemeStateLandmarkPostfix;
37  std::string m_toThemeStateLandmarkPostfix;
38  };
39  }
40  }
41 }