![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <FontTypes.h>
Inheritance diagram for FSlateFontAtlas:Protected Attributes | |
| ESlateFontAtlasContentType | ContentType |
Protected Attributes inherited from FSlateTextureAtlas | |
| TArray< uint8 > | AtlasData |
| FAtlasedTextureSlot * | AtlasUsedSlots |
| TArray< FAtlasedTextureSlot * > | AtlasEmptySlotsMap |
| uint32 | AtlasWidth |
| uint32 | AtlasHeight |
| uint32 | BytesPerPixel |
| ESlateTextureAtlasPaddingStyle | PaddingStyle |
| bool | bNeedsUpdate |
| bool | bUpdatesAfterInitialization |
| ESlateTextureAtlasThreadId | AtlasOwnerThread |
Additional Inherited Members | |
Protected Member Functions inherited from FSlateTextureAtlas | |
| SLATECORE_API const FAtlasedTextureSlot * | FindSlotForTexture (uint32 InWidth, uint32 InHeight) |
| void | AddFreeSlot (uint32 InX, uint32 InY, uint32 InWidth, uint32 InHeight) |
| SLATECORE_API void | InitAtlasData () |
| SLATECORE_API void | CopyRow (const FCopyRowData &CopyRowData) |
| SLATECORE_API void | ZeroRow (const FCopyRowData &CopyRowData) |
| SLATECORE_API void | CopyDataIntoSlot (const FAtlasedTextureSlot *SlotToCopyTo, const TArray< uint8 > &Data) |
Static Protected Member Functions inherited from FSlateTextureAtlas | |
| static int32 | GetFreeSlotSearchIndex (uint32 InWidth, uint32 InHeight) |
Representation of a texture for fonts in which characters are packed tightly based on their bounding rectangle
| FSlateFontAtlas::FSlateFontAtlas | ( | uint32 | InWidth, |
| uint32 | InHeight, | ||
| ESlateFontAtlasContentType | InContentType, | ||
| ESlateTextureAtlasPaddingStyle | InPaddingStyle | ||
| ) |
|
virtual |
| const FAtlasedTextureSlot * FSlateFontAtlas::AddCharacter | ( | const FCharacterRenderData & | CharInfo | ) |
Adds a character to the texture.
| CharInfo | Information about the size of the character |
| bool FSlateFontAtlas::BeginDeferredAddCharacter | ( | const int16 | InSizeX, |
| const int16 | InSizeY, | ||
| FDeferredCharacterRenderData & | OutCharInfo | ||
| ) |
Reserve a slot for a character but dont't update the texture yet.
| InSizeX | Width of the character |
| InSizeY | Height of the character |
| void FSlateFontAtlas::EndDeferredAddCharacter | ( | const FDeferredCharacterRenderData & | CharInfo | ) |
Update a character in the texture for already reserved or added slot.
| CharInfo | Information about the location and size of the character |
| void FSlateFontAtlas::Flush | ( | ) |
Flushes all cached data.
Retrieves a copy of the texture atlas data in this texture. This is a slow operation so this is recommended primarily for debugging and visualization tools.
| OutData | An array that a caller provides. This array will be populated with a copy of the data in the atlas. It is up to the caller to verify that the array is populated and not empty. |
Implements ISlateFontTexture.
|
inlineoverridevirtual |
Implements FSlateTextureAtlas.
|
finaloverridevirtual |
Returns the type of content in the texture
Implements ISlateFontTexture.
Releases rendering resources of this texture
Implements ISlateFontTexture.
|
protected |