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
TextMaterialFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "ITextMaterialFactory.h"
6
#include "Types.h"
7
8
9
namespace
Eegeo
10
{
11
namespace
Rendering
12
{
13
namespace
Materials
14
{
15
class
TextMaterialFactory
:
public
ITextMaterialFactory
,
private
Eegeo::NonCopyable
16
{
17
public
:
18
TextMaterialFactory
(
Rendering::Materials::MaterialIdGenerator
& materialIdGenerator,
19
const
Rendering::Shaders::TextShaderSet
& textShaderSet,
20
bool
depthTest);
21
22
virtual
~
TextMaterialFactory
() {;}
23
24
IMaterial
* Create(
const
std::string& name,
const
Fonts::FontInstance
& fontInstance,
int
texturePageIndex, u32 textMaterialTraits);
25
26
private
:
27
Rendering::Materials::MaterialIdGenerator
& m_materialIdGenerator;
28
const
Rendering::Shaders::TextShaderSet
& m_textShaderSet;
29
const
bool
m_depthTest;
30
};
31
}
32
}
33
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1