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
ITextMaterialFactory.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 "Fonts.h"
8
9
#include <string>
10
11
namespace
Eegeo
12
{
13
namespace
Rendering
14
{
15
namespace
Materials
16
{
17
namespace
TextMaterialTraits
18
{
19
enum
Type
20
{
21
None = 0,
22
NeedsOutline = 0x1,
23
NeedsSdfHalo = 0x2,
24
NeedsSuperSampling = 0x4,
25
NeedsNonUniformScale = 0x80
26
};
27
}
28
29
class
ITextMaterialFactory
30
{
31
public
:
32
virtual
~
ITextMaterialFactory
() {;}
33
34
virtual
IMaterial
* Create(
const
std::string& name,
35
const
Fonts::FontInstance
& fontInstance,
36
int
texturePageIndex,
37
u32 textMaterialTraits) = 0;
38
39
};
40
}
41
}
42
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1