![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateRHITextureAtlas.h>
Inheritance diagram for FSlateTextureAtlasRHI:Public Member Functions | |
| FSlateTextureAtlasRHI (uint32 InWidth, uint32 InHeight, ESlateTextureAtlasPaddingStyle PaddingStyle, bool bUpdatesAfterInitialization) | |
| ~FSlateTextureAtlasRHI () | |
| virtual FSlateShaderResource * | GetAtlasTexture () const override |
| virtual void | ReleaseResources () override |
| void | UpdateTexture_RenderThread (FSlateTextureData *RenderThreadData) |
| virtual void | ConditionalUpdateTexture () |
Public Member Functions inherited from FSlateTextureAtlas | |
| SLATECORE_API | FSlateTextureAtlas (uint32 InWidth, uint32 InHeight, uint32 InBytesPerPixel, ESlateTextureAtlasPaddingStyle InPaddingStyle, bool bInUpdatesAfterInitialization) |
| virtual SLATECORE_API | ~FSlateTextureAtlas () |
| SLATECORE_API void | EmptyAtlasData () |
| SLATECORE_API const FAtlasedTextureSlot * | AddTexture (uint32 TextureWidth, uint32 TextureHeight, const TArray< uint8 > &Data) |
| uint32 | GetWidth () const |
| uint32 | GetHeight () const |
| SLATECORE_API void | MarkTextureDirty () |
Represents a texture atlas for use with RHI.
| FSlateTextureAtlasRHI::FSlateTextureAtlasRHI | ( | uint32 | InWidth, |
| uint32 | InHeight, | ||
| ESlateTextureAtlasPaddingStyle | PaddingStyle, | ||
| bool | bUpdatesAfterInitialization | ||
| ) |
Creates and initializes a new instance.
| InWidth | |
| InHeight | |
| PaddingStyle |
| FSlateTextureAtlasRHI::~FSlateTextureAtlasRHI | ( | ) |
Destructor.
|
virtual |
Updates the texture used for rendering if needed
Implements FSlateTextureAtlas.
|
overridevirtual |
Gets the atlas' underlying texture resource.
Implements FSlateTextureAtlas.
|
overridevirtual |
Releases rendering resources of this texture
Implements FSlateTextureAtlas.
| void FSlateTextureAtlasRHI::UpdateTexture_RenderThread | ( | FSlateTextureData * | RenderThreadData | ) |
Updates the texture on the render thread.
| RenderThreadData |