MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / zFont

Method zFont

src/ui/zFont.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74UI::zFont::zFont(Engine::BaseEngine& e, const ZenLoad::zCFont::FontInfo& fontInfo)
75 : m_Engine(e)
76 , m_Font(fontInfo)
77{
78 LogInfo() << "Loading font file: " << fontInfo.fontName;
79
80 // Load the fonts texture
81 m_FontTexture = m_Engine.getEngineTextureAlloc().loadTextureVDF(fontInfo.fontName);
82}
83
84UI::zFont::~zFont()
85{

Callers

nothing calls this directly

Calls 1

loadTextureVDFMethod · 0.45

Tested by

no test coverage detected