Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Rendering
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Rendering/SlateRenderer.h |
| Include | #include "Rendering/SlateRenderer.h" |
Syntax
class FSlateFontServices
Remarks
Provides access to the game and render thread font caches that Slate should use
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSlateFontServices
(
TSharedRef< class FSlateFontCache > InGameThreadFontCache, |
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 |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destruct the font services |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FlushFontCache
(
const FString& FlushReason |
Flushes all cached data from the font cache for the current thread | |
| void | FlushGameThreadFontCache
(
const FString& FlushReason |
Flushes all cached data from the font cache for the game thread | |
| void | FlushRenderThreadFontCache
(
const FString& FlushReason |
Flushes all cached data from the font cache for the render thread | |
| TSharedRef< class FSlateFontCache > | GetFontCache () |
Get the font cache to use for the current thread | |
| TSharedRef< class FSlateFontMeasure > | Get access to the font measure service for the current thread | ||
| TSharedRef< class FSlateFontCache > | Get the font cache to use for the game thread | ||
| TSharedRef< class FSlateFontMeasure > | Get access to the font measure service for the current thread | ||
| TSharedRef< class FSlateFontCache > | Get the font cache to use for the render thread | ||
| TSharedRef< class FSlateFontMeasure > | Get access to the font measure service for the current thread | ||
| FOnReleaseFontResources & | Delegate called after releasing the rendering resources used by this font service | ||
| void | Release any rendering resources owned by this font service |