engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
TSlateTexture< ResourceType > 模板类 参考

Abstract base class for platform independent texture resource accessible by the shader. 更多...

#include <SlateShaderResource.h>

+ 类 TSlateTexture< ResourceType > 继承关系图:

Public 成员函数

virtual ESlateShaderResource::Type GetType () const override
 Gets the type of the resource. 更多...
 
ResourceType & GetTypedResource ()
 Gets the resource used by the shader. 更多...
 
 TSlateTexture ()
 Default constructor.
 
 TSlateTexture (ResourceType &InShaderResource)
 Creates and initializes a new instance. 更多...
 
- Public 成员函数 继承自 FSlateShaderResource
virtual uint32 GetHeight () const =0
 Gets the height of the resource. 更多...
 
virtual ESlateShaderResource::Type GetType () const =0
 Gets the type of the resource. 更多...
 
virtual uint32 GetWidth () const =0
 Gets the width of the resource. 更多...
 
virtual ~FSlateShaderResource ()
 Virtual destructor.
 

详细描述

template<typename ResourceType>
class TSlateTexture< ResourceType >

Abstract base class for platform independent texture resource accessible by the shader.

构造及析构函数说明

◆ TSlateTexture()

template<typename ResourceType >
TSlateTexture< ResourceType >::TSlateTexture ( ResourceType &  InShaderResource)
inline

Creates and initializes a new instance.

参数
InShaderResourceThe resource to use.

成员函数说明

◆ GetType()

template<typename ResourceType >
virtual ESlateShaderResource::Type TSlateTexture< ResourceType >::GetType ( ) const
inlineoverridevirtual

Gets the type of the resource.

返回
Resource type.

实现了 FSlateShaderResource.

◆ GetTypedResource()

template<typename ResourceType >
ResourceType & TSlateTexture< ResourceType >::GetTypedResource ( )
inline

Gets the resource used by the shader.

返回
The resource.

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