Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlateFontCache
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddNewEntry
(
const FShapedGlyphEntry& InShapedGlyph, |
Add a new entries into a cache atlas | Fonts/FontCache.h | |
bool AddNewEntry
(
const FCharacterRenderData InRenderData, |
Fonts/FontCache.h |
AddNewEntry(const FShapedGlyphEntry &, const FFontOutlineSettings &, FShapedGlyphFontAtlasData &)
Description
Add a new entries into a cache atlas
| Name | AddNewEntry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
bool AddNewEntry
(
const FShapedGlyphEntry & InShapedGlyph,
const FFontOutlineSettings & InOutlineSettings,
FShapedGlyphFontAtlasData & OutAtlasData
)
true if the characters could be cached. false if the cache is full
Parameters
| Name | Remarks |
|---|---|
| InFontInfo | Information about the font being used for the characters |
| Characters | The characters to cache |
| FontScale | The font scale to use |
AddNewEntry(const FCharacterRenderData, uint8 &, uint16 &, uint16 &, uint16 &, uint16 &, uint8 &)
| Name | AddNewEntry |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h |
| Include Path | #include "Fonts/FontCache.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Fonts/FontCache.cpp |
bool AddNewEntry
(
const FCharacterRenderData InRenderData,
uint8 & OutTextureIndex,
uint16 & OutGlyphX,
uint16 & OutGlyphY,
uint16 & OutGlyphWidth,
uint16 & OutGlyphHeight,
uint8 & OutPaddingOffset
)