Navigation
API > API/Runtime > API/Runtime/SlateCore
Interface to allow the Slate atlas visualizer to query atlas page information for an atlas provider
| Name | ISlateAtlasProvider |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h |
| Include Path | #include "Textures/TextureAtlas.h" |
Syntax
class ISlateAtlasProvider
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISlateAtlasProvider() |
Virtual destructor | Textures/TextureAtlas.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateShaderResource * GetAtlasPageResource
(
const int32 InIndex |
Get the page resource for the given index (verify with GetNumAtlasPages) | Textures/TextureAtlas.h | |
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 | Textures/TextureAtlas.h | |
int32 GetNumAtlasPages() |
Get the number of atlas pages this atlas provider has available when calling GetAtlasPageResource | Textures/TextureAtlas.h | |
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) | Textures/TextureAtlas.h |