Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Shapes
Polylines
PolylineMaterial.h
1
#pragma once
2
3
#include "PolylineShapes.h"
4
#include "Types.h"
5
#include "IMaterial.h"
6
#include "Rendering.h"
7
8
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Shapes
14
{
15
namespace
Polylines
16
{
17
class
PolylineMaterial
:
public
Rendering::Materials::IMaterial
,
private
Eegeo::NonCopyable
18
{
19
public
:
20
PolylineMaterial
(
const
Rendering::TMaterialId materialId,
21
const
std::string& name,
22
PolylineShader
& 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
PolylineShader
& m_shader;
36
};
37
38
}
39
}
40
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1