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

Encapsulates a render target for use by a Slate rendering implementation
更多...

#include <SlateTextures.h>

+ 类 FSlateRenderTargetRHI 继承关系图:

Public 成员函数

virtual uint32 GetHeight () const override
 Gets the height of the resource. 更多...
 
virtual uint32 GetWidth () const override
 Gets the width of the resource. 更多...
 
virtual void InitDynamicRHI () override
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void ReleaseDynamicRHI () override
 Releases all dynamic RHI data
 
ENGINE_API void SetRHIRef (FTexture2DRHIRef InRenderTargetTexture, uint32 InWidth, uint32 InHeight)
 Sets the RHI Ref to use. 更多...
 
- Public 成员函数 继承自 TSlateTexture< FTexture2DRHIRef >
FTexture2DRHIRef & GetTypedResource ()
 Gets the resource used by the shader. 更多...
 
 TSlateTexture ()
 Default constructor.
 
 TSlateTexture (FTexture2DRHIRef &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.
 
- Public 成员函数 继承自 FRenderResource
 FRenderResource ()
 Default constructor.
 
 FRenderResource (ERHIFeatureLevel::Type InFeatureLevel)
 Constructor when we know what feature level this resource should support
 
virtual FString GetFriendlyName () const
 
virtual void InitDynamicRHI ()
 Initializes the dynamic RHI resource and/or RHI render target used by this resource. 更多...
 
virtual void InitResource ()
 Initializes the resource. 更多...
 
virtual void InitRHI ()
 Initializes the RHI resources used by this resource. 更多...
 
virtual void ReleaseDynamicRHI ()
 Releases the dynamic RHI resource and/or RHI render target resources used by this resource. 更多...
 
virtual void ReleaseResource ()
 Prepares the resource for deletion. 更多...
 
virtual void ReleaseRHI ()
 Releases the RHI resources used by this resource. 更多...
 
void UpdateRHI ()
 If the resource's RHI resources have been initialized, then release and reinitialize it. 更多...
 
virtual ~FRenderResource ()
 Destructor used to catch unreleased resources.
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 FRenderResource
static void InitPreRHIResources ()
 Initialize all resources initialized before the RHI was initialized
 

详细描述

Encapsulates a render target for use by a Slate rendering implementation

成员函数说明

◆ GetHeight()

virtual uint32 FSlateRenderTargetRHI::GetHeight ( ) const
inlineoverridevirtual

Gets the height of the resource.

返回
Resource height(in pixels).

实现了 FSlateShaderResource.

◆ GetWidth()

virtual uint32 FSlateRenderTargetRHI::GetWidth ( ) const
inlineoverridevirtual

Gets the width of the resource.

返回
Resource width (in pixels).

实现了 FSlateShaderResource.

◆ InitDynamicRHI()

virtual void FSlateRenderTargetRHI::InitDynamicRHI ( )
inlineoverridevirtual

Initializes the dynamic RHI resource and/or RHI render target used by this resource.

Called when the resource is initialized, or when reseting all RHI resources. Resources that need to initialize after a D3D device reset must implement this function. This is only called by the rendering thread.

重载 FRenderResource .

◆ SetRHIRef()

ENGINE_API void FSlateRenderTargetRHI::SetRHIRef ( FTexture2DRHIRef  InRenderTargetTexture,
uint32  InWidth,
uint32  InHeight 
)

Sets the RHI Ref to use.

Useful for reusing this class for multiple render targets


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