Add global instance of font factory

This commit is contained in:
Georg Hagen
2025-02-04 22:17:40 +01:00
parent a8d4946751
commit 8926f5dd51
2 changed files with 13 additions and 5 deletions

View File

@@ -14,6 +14,8 @@
namespace OpenVulkano::Scene
{
FontAtlasFactory FontAtlasFactory::INSTANCE = FontAtlasFactory(); // Global factory
FontAtlasFactory::FontIdentifier::FontIdentifier(const std::string& font_, const std::set<uint32_t>& charset,
SubpixelLayout subpixelLayout_, float ptSize_,
FontAtlasType atlasType_)