![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SlateShaderResource.h>
Public Member Functions | |
| FSlateShaderResourceProxy () | |
| ~FSlateShaderResourceProxy () | |
Public Attributes | |
| FVector2f | StartUV |
| FVector2f | SizeUV |
| FSlateShaderResource * | Resource |
| FIntPoint | ActualSize |
| TSharedPtr< FSlateSharedHandleData > | HandleData |
A proxy resource.
May point to a full resource or point or to a texture resource in an atlas Note: This class does not free any resources. Resources should be owned and freed elsewhere
|
inline |
Default constructor.
|
inline |
| FIntPoint FSlateShaderResourceProxy::ActualSize |
The size of the texture. Regardless of atlasing this is the size of the actual texture
| TSharedPtr<FSlateSharedHandleData> FSlateShaderResourceProxy::HandleData |
Shared data between resources and handles to this resource. Is created the first time a handle is needed
| FSlateShaderResource* FSlateShaderResourceProxy::Resource |
The resource to be used for rendering
| FVector2f FSlateShaderResourceProxy::SizeUV |
The size of the texture in UV space. If atlas this some sub uv of the atlas. 1,1 otherwise
| FVector2f FSlateShaderResourceProxy::StartUV |
The start uv of the texture. If atlased this is some subUV of the atlas, 0,0 otherwise