All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InteriorsBackgroundMaterial.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Interiors.h"
6 #include "Types.h"
7 #include "IMaterial.h"
8 
9 #include "MeshRenderable.h"
10 #include "VectorMath.h"
11 
12 namespace Eegeo
13 {
14  namespace Resources
15  {
16  namespace Interiors
17  {
19  {
20  public:
21  InteriorsBackgroundMaterial(Rendering::TMaterialId materialId,
22  std::string name,
24  );
25 
26  const Rendering::TMaterialId GetId() const;
27 
28  const Rendering::Shader& GetShader() const;
29 
30 
31  void SetState(Rendering::GLState& glState) const;
32 
33  void SetStatePerRenderable(const Rendering::RenderableBase* renderableBase, Rendering::GLState& glState) const;
34 
35  const std::string& GetName() const;
36 
37  private:
38  const Rendering::TMaterialId m_materialId;
39  const std::string m_name;
41  };
42  }
43  }
44 }