From 50dfa4050343a25a5a34816cc276ec6ec9cf33ce Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 4 Nov 2021 19:03:53 +0800 Subject: *MISC --- Runtime/GUI/TextMeshGenerator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Runtime/GUI/TextMeshGenerator.h') 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 -// 回收长期没有被使用的text mesh +// collect unused text mesh gradually class GraduallyReleaseTextMesh : public IIncrementalTask { public: @@ -20,14 +21,13 @@ public: }; - class TextMeshGenerator : public Singleton { public: UITextMesh* GetTextMesh(const UnicodeString& str); private: - + std::vector m_TextMeshes; }; -- cgit v1.1-26-g67d0