A proxy resource. 更多...
#include <SlateShaderResource.h>
Public 成员函数 | |
| FSlateShaderResourceProxy () | |
| Default constructor. | |
Public 属性 | |
| FIntPoint | ActualSize |
| The size of the texture. 更多... | |
| TSharedPtr< FSlateSharedHandleData > | HandleData |
| Shared data between resources and handles to this resource. 更多... | |
| FSlateShaderResource * | Resource |
| The resource to be used for rendering | |
| FVector2D | SizeUV |
| The size of the texture in UV space. 更多... | |
| FVector2D | StartUV |
| The start uv of the texture. 更多... | |
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
| 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
| FVector2D FSlateShaderResourceProxy::SizeUV |
The size of the texture in UV space.
If atlas this some sub uv of the atlas. 1,1 otherwise
| FVector2D FSlateShaderResourceProxy::StartUV |
The start uv of the texture.
If atlased this is some subUV of the atlas, 0,0 otherwise