Navigation
API > API/Runtime > API/Runtime/SlateCore > API/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
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. | |
| void | Flush () |
Flushes all cached data. |
Overridden from ISlateFontTexture
| Type | Name | Description | |
|---|---|---|---|
| bool | IsGrayscale () |
Returns whether the texture resource is 8-bit grayscale or 8-bit per-channel BGRA color | |
| void | Releases rendering resources of this texture |
Overridden from FSlateTextureAtlas
| Type | Name | Description | |
|---|---|---|---|
| FSlateShaderResource * |