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
BatchedTextMaterialFactory.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
BatchedTextMaterialFactory
:
public
ITextMaterialFactory
,
private
Eegeo::NonCopyable
16
{
17
public
:
18
BatchedTextMaterialFactory
(
Rendering::Materials::MaterialIdGenerator
& materialIdGenerator,
19
const
Rendering::Shaders::TextShaderSet
& textShaderSet);
20
21
virtual
~
BatchedTextMaterialFactory
() {;}
22
23
IMaterial
* Create(
const
std::string& name,
const
Fonts::FontInstance
& fontInstance,
int
texturePageIndex, u32 textMaterialTraits);
24
25
private
:
26
Rendering::Materials::MaterialIdGenerator
& m_materialIdGenerator;
27
const
Rendering::Shaders::TextShaderSet
& m_textShaderSet;
28
};
29
}
30
}
31
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1