UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSlateShaderResourceProxy Class Reference

#include <SlateShaderResource.h>

Public Member Functions

 FSlateShaderResourceProxy ()
 
 ~FSlateShaderResourceProxy ()
 

Public Attributes

FVector2f StartUV
 
FVector2f SizeUV
 
FSlateShaderResourceResource
 
FIntPoint ActualSize
 
TSharedPtr< FSlateSharedHandleDataHandleData
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FSlateShaderResourceProxy()

FSlateShaderResourceProxy::FSlateShaderResourceProxy ( )
inline

Default constructor.

◆ ~FSlateShaderResourceProxy()

FSlateShaderResourceProxy::~FSlateShaderResourceProxy ( )
inline

Member Data Documentation

◆ ActualSize

FIntPoint FSlateShaderResourceProxy::ActualSize

The size of the texture. Regardless of atlasing this is the size of the actual texture

◆ HandleData

TSharedPtr<FSlateSharedHandleData> FSlateShaderResourceProxy::HandleData

Shared data between resources and handles to this resource. Is created the first time a handle is needed

◆ Resource

FSlateShaderResource* FSlateShaderResourceProxy::Resource

The resource to be used for rendering

◆ SizeUV

FVector2f FSlateShaderResourceProxy::SizeUV

The size of the texture in UV space. If atlas this some sub uv of the atlas. 1,1 otherwise

◆ StartUV

FVector2f FSlateShaderResourceProxy::StartUV

The start uv of the texture. If atlased this is some subUV of the atlas, 0,0 otherwise


The documentation for this class was generated from the following file: