![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateRenderer.h>
Public Member Functions | |
| SLATECORE_API | FSlateFontServices (TSharedRef< class FSlateFontCache > InGameThreadFontCache, TSharedRef< class FSlateFontCache > InRenderThreadFontCache) |
| SLATECORE_API | ~FSlateFontServices () |
| SLATECORE_API TSharedRef< class FSlateFontCache > | GetFontCache () const |
| TSharedRef< class FSlateFontCache > | GetGameThreadFontCache () const |
| TSharedRef< class FSlateFontCache > | GetRenderThreadFontCache () const |
| SLATECORE_API TSharedRef< class FSlateFontMeasure > | GetFontMeasureService () const |
| TSharedRef< class FSlateFontMeasure > | GetGameThreadFontMeasureService () const |
| TSharedRef< class FSlateFontMeasure > | GetRenderThreadFontMeasureService () const |
| SLATECORE_API void | FlushFontCache (const FString &FlushReason) |
| SLATECORE_API void | FlushGameThreadFontCache (const FString &FlushReason) |
| SLATECORE_API void | FlushRenderThreadFontCache (const FString &FlushReason) |
| SLATECORE_API void | ReleaseResources () |
| SLATECORE_API FOnReleaseFontResources & | OnReleaseResources () |
Provides access to the game and render thread font caches that Slate should use
| FSlateFontServices::FSlateFontServices | ( | TSharedRef< class FSlateFontCache > | InGameThreadFontCache, |
| TSharedRef< class FSlateFontCache > | InRenderThreadFontCache | ||
| ) |
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
| FSlateFontServices::~FSlateFontServices | ( | ) |
Destruct the font services
| void FSlateFontServices::FlushFontCache | ( | const FString & | FlushReason | ) |
Flushes all cached data from the font cache for the current thread
| void FSlateFontServices::FlushGameThreadFontCache | ( | const FString & | FlushReason | ) |
Flushes all cached data from the font cache for the game thread
| void FSlateFontServices::FlushRenderThreadFontCache | ( | const FString & | FlushReason | ) |
Flushes all cached data from the font cache for the render thread
| TSharedRef< FSlateFontCache > FSlateFontServices::GetFontCache | ( | ) | const |
Get the font cache to use for the current thread
| TSharedRef< class FSlateFontMeasure > FSlateFontServices::GetFontMeasureService | ( | ) | const |
Get access to the font measure service for the current thread
|
inline |
Get the font cache to use for the game thread
|
inline |
Get access to the font measure service for the current thread
|
inline |
Get the font cache to use for the render thread
|
inline |
Get access to the font measure service for the current thread
| FOnReleaseFontResources & FSlateFontServices::OnReleaseResources | ( | ) |
Delegate called after releasing the rendering resources used by this font service
| void FSlateFontServices::ReleaseResources | ( | ) |
Release any rendering resources owned by this font service