diff options
author | chai <chaifix@163.com> | 2021-11-04 19:03:53 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-04 19:03:53 +0800 |
commit | 50dfa4050343a25a5a34816cc276ec6ec9cf33ce (patch) | |
tree | 20524f80633ee71173db9f13beb92e204b3bfc11 /Runtime/GUI/TextMeshGenerator.h | |
parent | ae2c6b26c2453cfb84153c39861a1bcd02479a85 (diff) |
*MISC
Diffstat (limited to 'Runtime/GUI/TextMeshGenerator.h')
-rw-r--r-- | Runtime/GUI/TextMeshGenerator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Runtime/GUI/TextMeshGenerator.h b/Runtime/GUI/TextMeshGenerator.h index 94bcaa2..3598cb0 100644 --- a/Runtime/GUI/TextMeshGenerator.h +++ b/Runtime/GUI/TextMeshGenerator.h @@ -3,8 +3,9 @@ #include "UITextMesh.h"
#include "Runtime/Utilities/IIncrementalTask.h"
#include "Font.h"
+#include <vector>
-// 回收长期没有被使用的text mesh
+// collect unused text mesh gradually
class GraduallyReleaseTextMesh : public IIncrementalTask
{
public:
@@ -20,14 +21,13 @@ public: };
-
class TextMeshGenerator : public Singleton<TextMeshGenerator>
{
public:
UITextMesh* GetTextMesh(const UnicodeString& str);
private:
-
+ std::vector<UITextMesh*> m_TextMeshes;
};
|