![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateAtlasedTextureResource.h>
Inheritance diagram for FSlateAtlasedTextureResource:Public Types | |
| typedef TMap< TWeakObjectPtr< UObject >, FSlateShaderResourceProxy * > | FObjectResourceMap |
Public Member Functions | |
| FSlateAtlasedTextureResource (UTexture *InTexture) | |
| virtual | ~FSlateAtlasedTextureResource () |
| virtual bool | IsResourceValid () const override |
| FSlateShaderResourceProxy * | FindOrCreateAtlasedProxy (UObject *InAtlasedObject, const FSlateAtlasData &AtlasData) |
Public Member Functions inherited from FSlateBaseUTextureResource | |
| FSlateBaseUTextureResource (UTexture *InTexture) | |
| virtual | ~FSlateBaseUTextureResource () |
| virtual uint32 | GetWidth () const |
| virtual uint32 | GetHeight () const |
| virtual ESlateShaderResource::Type | GetType () const |
| virtual ESlatePostRT | GetUsedSlatePostBuffers () const override |
| virtual bool | RequiresVirtualTextureFeedback () const override |
| FTextureRHIRef | AccessRHIResource () |
| UTexture * | GetTextureObject () const |
Public Member Functions inherited from FSlateShaderResource | |
| void | CheckForStaleResources () const |
| bool | Debug_IsDestroyed () const |
| virtual | ~FSlateShaderResource ()=default |
Public Attributes | |
| FObjectResourceMap | ProxyMap |
Additional Inherited Members | |
Protected Attributes inherited from FSlateBaseUTextureResource | |
| UTexture * | TextureObject |
| ESlatePostRT | CachedSlatePostBuffers |
| bool | CachedIsVirtualTexture |
A resource for rendering a sub-rect of a UTexture atlas object in Slate. Each ISlateTextureAtlasInterface* should uniquely identify a subregion of the UTexture atlas.
| typedef TMap<TWeakObjectPtr<UObject>, FSlateShaderResourceProxy* > FSlateAtlasedTextureResource::FObjectResourceMap |
| FSlateAtlasedTextureResource::FSlateAtlasedTextureResource | ( | UTexture * | InTexture | ) |
Initializes a new atlased UTexture resource, the incoming texture should be the entire atlas.
|
virtual |
Destructor
| FSlateShaderResourceProxy * FSlateAtlasedTextureResource::FindOrCreateAtlasedProxy | ( | UObject * | InAtlasedObject, |
| const FSlateAtlasData & | AtlasData | ||
| ) |
Finds or creates the rendering proxy for a given atlas'ed object.
| InAtlasedObject | The atlased object to find a rendering proxy for. |
| InAtlasedObjectInterface | The Interface pointer for the InAtlasedObject. |
|
overridevirtual |
Additional validation that can vary per resource type
Reimplemented from FSlateShaderResource.
| FObjectResourceMap FSlateAtlasedTextureResource::ProxyMap |
Map of all the atlased resources.