Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Textures
Inheritance Hierarchy
- ISlateAtlasProvider
- FSlateFontCache
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
| Include | #include "Textures/TextureAtlas.h" |
Syntax
class ISlateAtlasProvider
Remarks
Interface to allow the Slate atlas visualizer to query atlas page information for an atlas provider
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FSlateShaderResource * | GetAtlasPageResource
(
const int32 InIndex |
Get the page resource for the given index (verify with GetNumAtlasPages) | |
| FAtlasSlotInfo | GetAtlasSlotInfoAtPosition
(
FIntPoint InPosition, |
Finds a currently occupied slot at a position specified in atlas coordinates where 0,0 is the top left and the size of the atlas is bottom right | |
| int32 | Get the number of atlas pages this atlas provider has available when calling GetAtlasPageResource | ||
| bool | IsAtlasPageResourceAlphaOnly
(
const int32 InIndex |
Does the page resources for the given index only contain alpha information? This affects how the atlas visualizer will sample them (verify with GetNumAtlasPages) |