Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
Include |
#include "Rendering/SlateRenderer.h" |
class FSlateFontServices
Provides access to the game and render thread font caches that Slate should use
Name | Description | |
---|---|---|
|
FSlateFontServices ( |
Construct the font services from the font caches (we'll create corresponding measure services ourselves) These pointers may be the same if your renderer doesn't need a separate render thread font cache |
Name | Description | |
---|---|---|
|
~FSlateFontServices() |
Destruct the font services |
Name | Description | ||
---|---|---|---|
|
FlushFontCache ( |
Flushes all cached data from the font cache for the current thread |
|
|
FlushGameThreadFontCache ( |
Flushes all cached data from the font cache for the game thread |
|
|
FlushRenderThreadFontCache ( |
Flushes all cached data from the font cache for the render thread |
|
|
TSharedRef< ... |
GetFontCache() |
Get the font cache to use for the current thread |
|
TSharedRef< ... |
GetFontMeasureService() |
Get access to the font measure service for the current thread |
|
TSharedRef< ... |
GetGameThreadFontCache() |
Get the font cache to use for the game thread |
|
TSharedRef< ... |
GetGameThreadFontMeasureService() |
Get access to the font measure service for the current thread |
|
TSharedRef< ... |
GetRenderThreadFontCache() |
Get the font cache to use for the render thread |
|
TSharedRef< ... |
GetRenderThreadFontMeasureService() |
Get access to the font measure service for the current thread |
|
FOnReleaseFo... |
OnReleaseResources() |
Delegate called after releasing the rendering resources used by this font service |
|
ReleaseResources() |
Release any rendering resources owned by this font service |