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
NullMaterialFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Rendering.h"
7
8
#include <string>
9
10
namespace
Eegeo
11
{
12
namespace
Rendering
13
{
14
namespace
Materials
15
{
16
class
NullMaterialFactory
:
protected
Eegeo::NonCopyable
17
{
18
public
:
19
NullMaterialFactory
(
Rendering::Shaders::NullShader
& nullShader,
20
Rendering::Materials::MaterialIdGenerator
& materialIdGenerator)
21
: m_nullShader(nullShader)
22
, m_materialIdGenerator(materialIdGenerator)
23
{
24
}
25
26
NullMaterial
* Create(
const
std::string& materialName)
const
;
27
28
private
:
29
Rendering::Shaders::NullShader
& m_nullShader;
30
Rendering::Materials::MaterialIdGenerator
& m_materialIdGenerator;
31
};
32
}
33
}
34
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1