Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
TextMeshes
InstancedTextMeshBuilder.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "TextMeshBuilder.h"
6
#include "Rendering.h"
7
#include "Types.h"
8
#include "Space.h"
9
#include <vector>
10
11
namespace
Eegeo
12
{
13
namespace
TextMeshes
14
{
15
struct
TextMeshBuilderResult;
16
17
class
InstancedTextMeshBuilder
:
public
TextMeshBuilder
18
{
19
public
:
20
InstancedTextMeshBuilder
(
Rendering::MeshFactories::TextMeshFactory
& textMeshFactory);
21
22
virtual
void
AddText(
const
std::vector<u32>& textUtf32,
float
fontSize,
float
xOffset,
float
yOffset,
float
altitudeOffset);
23
virtual
void
AddText(
const
std::string& text,
float
fontSize,
float
xOffset,
float
yOffset,
float
altitudeOffset);
24
virtual
void
AddText(
const
char
* textStr,
int
textLength,
float
fontSize,
float
xOffset,
float
yOffset,
float
altitudeOffset);
25
26
virtual
void
GenerateMeshes(
bool
shadowed,
bool
doubleSided,
float
shadowOffsetMeters,
const
std::string& debugName,
const
Space::CubeMap::CubeMapCellInfo
& cellInfo,
TextMeshBuilderResult
& out_result);
27
28
virtual
void
AddCustomQuads(
const
std::vector<Rendering::VertexTypes::TextVertex>& vertices,
int
quadCount,
int
customGeometryPageIndex);
29
};
30
}
31
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1