Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
Include |
#include "Fonts/FontCache.h" |
class FCharacterList
Manages a potentially large list of non-shaped characters Uses a directly indexed by TCHAR array until space runs out and then maps the rest to conserve memory Every character indexed by TCHAR could potentially cost a lot of memory of a lot of empty entries are created because characters being used are far apart
Name | Description | |
---|---|---|
|
FCharacterList ( |
Name | Description | ||
---|---|---|---|
|
GetBaseline() |
Returns the baseline for the font used by this character |
|
|
FCharacterEn... |
GetCharacter ( |
Gets data about how to render and measure a character Caching and atlasing it if needed |
|
GetKerning ( |
Gets a kerning value for a pair of character entries |
|
|
GetKerning ( |
Gets a kerning value for a pair of characters |
|
|
GetMaxHeight() |
||
|
IsStale() |
Check to see if our cached data is potentially stale for our font |
|
|
IsValidIndex ( |