Navigation
Unreal Engine C++ API Reference > Runtime > SlateCore > Fonts
Inheritance Hierarchy
- ISlateFontTexture
- FSlateTextureAtlas
- FSlateFontAtlas
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Fonts/FontTypes.h |
Include | #include "Fonts/FontTypes.h" |
Syntax
class FSlateFontAtlas :
public ISlateFontTexture ,
public FSlateTextureAtlas
Remarks
Representation of a texture for fonts in which characters are packed tightly based on their bounding rectangle
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
ESlateFontAtlasContentType | ContentType |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FSlateFontAtlas
(
uint32 InWidth, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
const FAtlasedTextureSlot * | AddCharacter
(
const FCharacterRenderData& CharInfo |
Adds a character to the texture. |
![]() |
bool | BeginDeferredAddCharacter
(
const int16 InSizeX, |
Reserve a slot for a character but dont't update the texture yet. |
![]() |
void | EndDeferredAddCharacter
(
const FDeferredCharacterRenderData& CharInfo |
Update a character in the texture for already reserved or added slot. |
![]() |
void | Flush () |
Flushes all cached data. |
Overridden from ISlateFontTexture
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
ESlateFontAtlasContentType | Returns the type of content in the texture | |
![]() ![]() |
void | Releases rendering resources of this texture |
Overridden from FSlateTextureAtlas
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FSlateShaderResource * |