Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Textures
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Textures/SlateShaderResource.h |
| Include | #include "Textures/SlateShaderResource.h" |
Syntax
class FSlateShaderResourceProxy
Remarks
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | ActualSize | The size of the texture. Regardless of atlasing this is the size of the actual texture | |
| TSharedPtr< FSlateSharedHandleData > | HandleData | Shared data between resources and handles to this resource. | |
| FSlateShaderResource * | Resource | The resource to be used for rendering | |
| FVector2f | SizeUV | The size of the texture in UV space. If atlas this some sub uv of the atlas. 1,1 otherwise | |
| FVector2f | StartUV | The start uv of the texture. If atlased this is some subUV of the atlas, 0,0 otherwise |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. |
Destructors
| Type | Name | Description | |
|---|---|---|---|