engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FSlateShaderResourceProxy类 参考

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

类成员变量说明

◆ 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

◆ SizeUV

FVector2D FSlateShaderResourceProxy::SizeUV

The size of the texture in UV space.

If atlas this some sub uv of the atlas. 1,1 otherwise

◆ StartUV

FVector2D FSlateShaderResourceProxy::StartUV

The start uv of the texture.

If atlased this is some subUV of the atlas, 0,0 otherwise


该类的文档由以下文件生成: