blob: baeaf16819741f25fa1773ab89d5cf9cfffb2c88 (
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 "TextMesh.h"
#include "Runtime/Utilities/IIncrementalTask.h"
#include "Font.h"
// 回收长期没有被使用的text mesh
class GraduallyReleaseTextMesh : public IIncrementalTask
{
public:
void Execute() override
{
}
bool IsDone() override
{
}
};
class TextMeshGenerator : public Singleton<TextMeshGenerator>
{
public:
TextMesh* GetTextMesh(const UnicodeString& str);
private:
};
#define g_TextMeshGenerator (*TextMeshGenerator::Instance())
|