engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSlateFontServices类 参考

Provides access to the game and render thread font caches that Slate should use 更多...

#include <SlateRenderer.h>

Public 成员函数

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
 
 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
 
TSharedRef< class FSlateFontCache > GetFontCache () const
 Get the font cache to use for the current thread
 
TSharedRef< class FSlateFontMeasure > GetFontMeasureService () const
 Get access to the font measure service for the current thread
 
TSharedRef< class FSlateFontCache > GetGameThreadFontCache () const
 Get the font cache to use for the game thread
 
TSharedRef< class FSlateFontMeasure > GetGameThreadFontMeasureService () const
 Get access to the font measure service for the current thread
 
TSharedRef< class FSlateFontCache > GetRenderThreadFontCache () const
 Get the font cache to use for the render thread
 
TSharedRef< class FSlateFontMeasure > GetRenderThreadFontMeasureService () const
 Get access to the font measure service for the current thread
 
FOnReleaseFontResources & OnReleaseResources ()
 Delegate called after releasing the rendering resources used by this font service
 
void ReleaseResources ()
 Release any rendering resources owned by this font service
 
 ~FSlateFontServices ()
 Destruct the font services
 

详细描述

Provides access to the game and render thread font caches that Slate should use


该类的文档由以下文件生成: