FEngineFontServices

A shim around [FSlateFontServices](API\Runtime\SlateCore\Rendering\FSlateFontServices) that provides access from the render thread (where [FSlateApplication::Get()](API\Runtime\Slate\Framework\Application\FSlateApplication\Get) would assert)

Windows
MacOS
Linux

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

Name Description

Public function Static

void

 

Create()

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

Public function Static

void

 

Destroy()

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

Public function Static

FEngineFontS...

 

Get()

Get the singular instance of this class

Public function

TSharedPtr< ...

 

GetFontCache()

Get the font cache to use for the current thread

Public function

TSharedPtr< ...

 

GetFontMeasure()

Get the font measure to use for the current thread

Public function Static

bool

 

IsInitialized()

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

Public function

FOnReleaseFo...

 

OnReleaseResources()

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

Public function

void

 

UpdateCache()

Update the cache for the current thread

Constants

Name

Description

Instance

Singular instance of this class

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss