| FSlateTextureAtlas
|
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
Include |
#include "Textures/TextureAtlas.h" |
class FSlateTextureAtlas
Base class texture atlases in Slate
Name | Description | ||
---|---|---|---|
|
AtlasData |
Actual texture data contained in the atlas |
|
|
AtlasEmptySlots |
The list of atlas slots pointing to empty texture data in the atlas |
|
|
AtlasHeight |
Height of the atlas |
|
|
AtlasOwnerThread |
The type of thread that owns this atlas - this is the only thread that can safely update it |
|
|
AtlasUsedSlots |
The list of atlas slots pointing to used texture data in the atlas |
|
|
AtlasWidth |
Width of the atlas |
|
|
bNeedsUpdate |
True if this texture needs to have its rendering resources updated |
|
|
bUpdatesAfterInitialization |
True if this texture can update after initialziation and we should preserve the atlas slots and cpu memory |
|
|
BytesPerPixel |
Bytes per pixel in the atlas |
|
|
PaddingStyle |
Padding style |
Name | Description | |
---|---|---|
|
FSlateTextureAtlas ( |
Name | Description | |
---|---|---|
|
~FSlateTextureAtlas() |
Name | Description | ||
---|---|---|---|
|
const FAtlas... |
AddTexture |
Adds a texture to the atlas |
|
ConditionalUpdateTexture() |
Updates the texture used for rendering if needed |
|
|
CopyDataIntoSlot ( |
Copies texture data into the atlas at a given slot |
|
|
CopyRow ( |
Copies a single row from a source texture to a dest texture, respecting the padding. |
|
|
EmptyAtlasData() |
Clears atlas cpu data. It does not clear rendering data |
|
|
const FAtlas... |
FindSlotForTexture |
Finds the optimal slot for a texture in the atlas |
|
GetHeight() |
||
|
const FAtlas... |
GetSlotAtPosition ( |
|
|
GetWidth() |
||
|
InitAtlasData() |
Creates enough space for a single texture the width and height of the atlas |
|
|
MarkTextureDirty() |
Marks the texture as dirty and needing its rendering resources updated |
|
|
ZeroRow ( |
Zeros out a row in the dest texture (used with PaddingStyle == PadWithZero). |
Name |
Description |
|
---|---|---|
|
FCopyRowData |