MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ shutdown()

MAYAFLUX_API void MayaFlux::Portal::Text::shutdown ( )

Shutdown Portal::Text.

Releases the FreeType library handle and destroys the default atlas if one was set. All FontFace and GlyphAtlas instances must be destroyed before calling this.

Definition at line 61 of file Text.cpp.

62{
63 if (!g_initialized) {
64 return;
65 }
66
67 MF_INFO(Journal::Component::Portal, Journal::Context::API,
68 "Shutting down Portal::Text...");
69
70 TypeFaceFoundry::instance().shutdown();
71
72 g_initialized = false;
73 MF_INFO(Journal::Component::Portal, Journal::Context::API,
74 "Portal::Text shutdown");
75}
#define MF_INFO(comp, ctx,...)

References MayaFlux::Journal::API, MayaFlux::Portal::Text::TypeFaceFoundry::instance(), MF_INFO, MayaFlux::Journal::Portal, and MayaFlux::Portal::Text::TypeFaceFoundry::shutdown().

Referenced by MayaFlux::Core::GraphicsSubsystem::shutdown().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: