Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Resources
Interiors
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
{
18
class
InteriorsBackgroundMaterial
:
public
Rendering::Materials::IMaterial
,
private
Eegeo::NonCopyable
19
{
20
public
:
21
InteriorsBackgroundMaterial
(Rendering::TMaterialId materialId,
22
std::string name,
23
Rendering::Shaders::ColorShader
& shader
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;
40
Rendering::Shaders::ColorShader
& m_shader;
41
};
42
}
43
}
44
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1