Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Routes
View
ScreenSpaceRouteViewMaterial.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
#include "Routes.h"
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Routes
14
{
15
namespace
View
16
{
17
class
ScreenSpaceRouteViewMaterial
:
Eegeo::NonCopyable
,
public
Rendering::Materials::IMaterial
18
{
19
public
:
20
ScreenSpaceRouteViewMaterial
(
const
Rendering::TMaterialId materialId,
21
const
std::string& name,
22
ScreenSpaceRouteViewShader
& shader);
23
24
const
Rendering::TMaterialId GetId()
const
{
return
m_id; }
25
const
Rendering::Shader
& GetShader()
const
;
26
const
std::string& GetName()
const
{
return
m_name; }
27
28
void
SetState(
Rendering::GLState
& glState)
const
;
29
30
void
SetStatePerRenderable(
const
Rendering::RenderableBase
* renderableBase,
Rendering::GLState
& glState)
const
;
31
32
private
:
33
const
Rendering::TMaterialId m_id;
34
const
std::string m_name;
35
ScreenSpaceRouteViewShader
& m_shader;
36
};
37
38
}
39
}
40
}
Generated on Sat Jun 10 2023 02:00:33 for eeGeo Platform SDK by
1.8.3.1