Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/EngineFontServices.h |
Include | #include "EngineFontServices.h" |
Syntax
class FEngineFontServices
Remarks
A shim around FSlateFontServices that provides access from the render thread (where FSlateApplication::Get() would assert)
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Create () |
Create the singular instance of this class - must be called from the game thread |
![]() ![]() |
void | Destroy () |
Destroy the singular instance of this class - must be called from the game thread |
![]() ![]() |
FEngineFontServices & | Get () |
Get the singular instance of this class |
![]() |
TSharedPtr< FSlateFontCache > | GetFontCache () |
Get the font cache to use for the current thread |
![]() |
TSharedPtr< FSlateFontMeasure > | Get the font measure to use for the current thread | |
![]() ![]() |
bool | Check to see if the singular instance of this class is currently initialized and ready | |
![]() |
FOnReleaseFontResources & | Delegate called after releasing the rendering resources used by this font service | |
![]() |
void | UpdateCache () |
Update the cache for the current thread |
Constants
Name | Description |
---|---|
Instance | Singular instance of this class |