All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
UniqueDiffuseMaterial.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "DiffuseMaterial.h"
6 #include "IdTypes.h"
7 #include "DiffuseShader.h"
8 #include "Lighting.h"
9 #include "TextureMinifyType.h"
10 #include "Rendering.h"
11 #include <string>
12 
13 namespace Eegeo
14 {
15  namespace Rendering
16  {
17  namespace Materials
18  {
20  {
21  public:
23  const TMaterialId materialId,
24  const std::string& name,
25  Shaders::DiffuseShader& shader,
26  const Lighting::GlobalLighting& lighting,
28  Rendering::TextureMinifyType textureMinifyType,
29  bool useAlternativeAmbient,
30  bool textureRepeat
31  );
32 
33  void SetState(Rendering::GLState& glState) const;
34 
35  void SetStatePerRenderable(const Rendering::RenderableBase* renderableBase, Rendering::GLState& glState) const;
36  };
37  }
38  }
39 }