UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FEngineFontServices Class Reference

#include <EngineFontServices.h>

Public Member Functions

ENGINE_API TSharedPtr< FSlateFontCacheGetFontCache ()
 
ENGINE_API TSharedPtr< FSlateFontMeasureGetFontMeasure ()
 
ENGINE_API void UpdateCache ()
 
ENGINE_API FOnReleaseFontResourcesOnReleaseResources ()
 

Static Public Member Functions

static ENGINE_API void Create ()
 
static ENGINE_API void Destroy ()
 
static ENGINE_API bool IsInitialized ()
 
static ENGINE_API FEngineFontServicesGet ()
 

Detailed Description

A shim around FSlateFontServices that provides access from the render thread (where FSlateApplication::Get() would assert)

Member Function Documentation

◆ Create()

void FEngineFontServices::Create ( )
static

Create the singular instance of this class - must be called from the game thread

◆ Destroy()

void FEngineFontServices::Destroy ( )
static

Destroy the singular instance of this class - must be called from the game thread

◆ Get()

FEngineFontServices & FEngineFontServices::Get ( )
static

Get the singular instance of this class

◆ GetFontCache()

TSharedPtr< FSlateFontCache > FEngineFontServices::GetFontCache ( )

Get the font cache to use for the current thread

◆ GetFontMeasure()

TSharedPtr< FSlateFontMeasure > FEngineFontServices::GetFontMeasure ( )

Get the font measure to use for the current thread

◆ IsInitialized()

bool FEngineFontServices::IsInitialized ( )
static

Check to see if the singular instance of this class is currently initialized and ready

◆ OnReleaseResources()

FOnReleaseFontResources & FEngineFontServices::OnReleaseResources ( )

Delegate called after releasing the rendering resources used by this font service

◆ UpdateCache()

void FEngineFontServices::UpdateCache ( )

Update the cache for the current thread


The documentation for this class was generated from the following files: