Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Text
BatchedTextRenderableFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "IBatchedTextRenderableFactory.h"
7
#include "LayerIds.h"
8
9
namespace
Eegeo
10
{
11
namespace
Text
12
{
13
class
BatchedScreenTextRenderableFactory
:
public
IBatchedScreenTextRenderableFactory
,
private
Eegeo::NonCopyable
14
{
15
public
:
16
BatchedScreenTextRenderableFactory
(
Rendering::VertexLayouts::VertexLayoutPool
& vertexLayoutPool,
17
Rendering::VertexLayouts::VertexBindingPool
& vertexBindingPool,
18
const
GlBuffer<u16>
& quadIndexBuffer,
19
GlBuffer<Rendering::VertexTypes::ScreenTextVertex>
& screenTextVertexBuffer);
20
21
22
23
BatchedScreenTextRenderable
* Create(
Rendering::Materials::IMaterial
& material,
const
Rendering::SortKey
& sortKey,
BatchedScreenTextRenderable
* pPrimaryRenderable);
24
private
:
25
Rendering::VertexLayouts::VertexLayoutPool
& m_vertexLayoutPool;
26
Rendering::VertexLayouts::VertexBindingPool
& m_vertexBindingPool;
27
const
GlBuffer<u16>
& m_quadIndexBuffer;
28
GlBuffer<Rendering::VertexTypes::ScreenTextVertex>
& m_screenTextVertexBuffer;
29
};
30
31
32
class
BatchedWorldTextRenderableFactory
:
public
IBatchedWorldTextRenderableFactory
,
private
Eegeo::NonCopyable
33
{
34
public
:
35
BatchedWorldTextRenderableFactory
(
Rendering::VertexLayouts::VertexLayoutPool
& vertexLayoutPool,
36
Rendering::VertexLayouts::VertexBindingPool
& vertexBindingPool,
37
const
GlBuffer<u16>
& quadIndexBuffer,
38
GlBuffer<Rendering::VertexTypes::WorldTextVertex>
& worldTextVertexBuffer);
39
40
41
42
BatchedWorldTextRenderable
* Create(
Rendering::Materials::IMaterial
& material,
const
Rendering::SortKey
& sortKey,
BatchedWorldTextRenderable
* pPrimaryRenderable);
43
private
:
44
Rendering::VertexLayouts::VertexLayoutPool
& m_vertexLayoutPool;
45
Rendering::VertexLayouts::VertexBindingPool
& m_vertexBindingPool;
46
const
GlBuffer<u16>
& m_quadIndexBuffer;
47
GlBuffer<Rendering::VertexTypes::WorldTextVertex>
& m_worldTextVertexBuffer;
48
};
49
}
50
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1