All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InteriorsStencilMirrorClearMaterial.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Interiors.h"
6 #include "InteriorsMaterialBase.h"
7 #include "TextureMinifyType.h"
8 #include "IdTypes.h"
9 #include "Rendering.h"
10 #include "Lighting.h"
11 #include "VectorMath.h"
12 
13 #include <string>
14 
15 namespace Eegeo
16 {
17  namespace Resources
18  {
19  namespace Interiors
20  {
21 
23  {
24  public:
25  InteriorsStencilMirrorClearMaterial(const Rendering::TMaterialId materialId,
26  const std::string& name,
28 
29 
30 
32 
33  virtual const Rendering::TMaterialId GetId() const;
34 
35 
36  virtual const Rendering::Shader& GetShader() const;
37 
38  virtual void SetState(Rendering::GLState& glState) const;
39 
40  virtual void SetStatePerRenderable(const Rendering::RenderableBase* renderableBase, Rendering::GLState& glState) const;
41 
42  virtual const std::string& GetName() const;
43 
44  private:
45  const Rendering::TMaterialId m_materialId;
46  const std::string m_name;
47  const InteriorsStencilMirrorMaskShader& m_shader;
48  };
49  }
50  }
51 }