blob: 3598cb01b31d1faf1d86cf9466e1ed61566ead53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#pragma once
#include "UITextMesh.h"
#include "Runtime/Utilities/IIncrementalTask.h"
#include "Font.h"
#include <vector>
// collect unused text mesh gradually
class GraduallyReleaseTextMesh : public IIncrementalTask
{
public:
void Execute() override
{
}
bool IsDone() override
{
}
};
class TextMeshGenerator : public Singleton<TextMeshGenerator>
{
public:
UITextMesh* GetTextMesh(const UnicodeString& str);
private:
std::vector<UITextMesh*> m_TextMeshes;
};
#define g_TextMeshGenerator (*TextMeshGenerator::Instance())
|