Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
Materials
DebugMaterial.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "IMaterial.h"
7
#include "Rendering.h"
8
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Rendering
14
{
15
namespace
Materials
16
{
17
class
DebugMaterial
:
public
Eegeo::NonCopyable
,
public
IMaterial
18
{
19
public
:
20
DebugMaterial
(
const
TMaterialId& materialId,
21
const
std::string& materialName,
22
Rendering::Shaders::ColoredVertShader
& shader);
23
24
const
TMaterialId GetId()
const
;
25
26
const
Shader
& GetShader()
const
;
27
28
void
SetState(
Rendering::GLState
& glState)
const
;
29
void
SetStatePerRenderable(
const
Rendering::RenderableBase
* renderableBase,
Rendering::GLState
& glState)
const
;
30
31
const
std::string& GetName()
const
;
32
private
:
33
34
Rendering::Shaders::ColoredVertShader
& m_shader;
35
const
std::string& m_name;
36
const
TMaterialId m_materialId;
37
};
38
}
39
}
40
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1