Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Textures/SlateShaderResource.h |
Include |
#include "Textures/SlateShaderResource.h" |
class FSlateShaderResourceProxy
A proxy resource.
May point to a full resource or point or to a texture resource in an atlas
This class does not free any resources. Resources should be owned and freed elsewhere
Name | Description | ||
---|---|---|---|
|
ActualSize |
The size of the texture. Regardless of atlasing this is the size of the actual texture |
|
|
TSharedPtr< FSl... |
HandleData |
Shared data between resources and handles to this resource. |
|
Resource |
The resource to be used for rendering |
|
|
SizeUV |
The size of the texture in UV space. If atlas this some sub uv of the atlas. 1,1 otherwise |
|
|
StartUV |
The start uv of the texture. If atlased this is some subUV of the atlas, 0,0 otherwise |
Name | Description | |
---|---|---|
|
FSlateShaderResourceProxy() |
Default constructor. |
Name | Description | |
---|---|---|
|
~FSlateShaderResourceProxy() |