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