diff options
Diffstat (limited to 'Runtime/GUI/TextMeshGenerator.h')
-rw-r--r-- | Runtime/GUI/TextMeshGenerator.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Runtime/GUI/TextMeshGenerator.h b/Runtime/GUI/TextMeshGenerator.h index c5992bd..baeaf16 100644 --- a/Runtime/GUI/TextMeshGenerator.h +++ b/Runtime/GUI/TextMeshGenerator.h @@ -1,6 +1,8 @@ #pragma once
+#include "TextMesh.h"
#include "Runtime/Utilities/IIncrementalTask.h"
+#include "Font.h"
// 回收长期没有被使用的text mesh
class GraduallyReleaseTextMesh : public IIncrementalTask
@@ -18,3 +20,15 @@ public: };
+
+class TextMeshGenerator : public Singleton<TextMeshGenerator>
+{
+public:
+ TextMesh* GetTextMesh(const UnicodeString& str);
+
+private:
+
+
+};
+
+#define g_TextMeshGenerator (*TextMeshGenerator::Instance())
\ No newline at end of file |