engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Protected 成员函数 | 所有成员列表
FDeferredUpdateResource类 参考abstract

FDeferredUpdateResource for resources that need to be updated after scene rendering has begun (should only be used on the rendering thread) 更多...

#include <TextureResource.h>

+ 类 FDeferredUpdateResource 继承关系图:

Public 成员函数

 FDeferredUpdateResource ()
 Constructor, initializing UpdateListLink.
 
ENGINE_API void FlushDeferredResourceUpdate (FRHICommandListImmediate &RHICmdList)
 Performs a deferred resource update on this resource if it exists in the UpdateList.
 

静态 Public 成员函数

static void ResetNeedsUpdate ()
 This is reset after all viewports have been rendered
 
static ENGINE_API void UpdateResources (FRHICommandListImmediate &RHICmdList)
 Iterate over the global list of resources that need to be updated and call UpdateResource on each one.
 

Protected 成员函数

ENGINE_API void AddToDeferredUpdateList (bool OnlyUpdateOnce)
 Add this resource to deferred update list 更多...
 
ENGINE_API void RemoveFromDeferredUpdateList ()
 Remove this resource from deferred update list
 
virtual void UpdateDeferredResource (FRHICommandListImmediate &RHICmdList, bool bClearRenderTarget=true)=0
 Updates (resolves) the render target texture. 更多...
 

详细描述

FDeferredUpdateResource for resources that need to be updated after scene rendering has begun (should only be used on the rendering thread)

成员函数说明

◆ AddToDeferredUpdateList()

ENGINE_API void FDeferredUpdateResource::AddToDeferredUpdateList ( bool  OnlyUpdateOnce)
protected

Add this resource to deferred update list

参数
OnlyUpdateOnce- flag this resource for a single update if true

◆ UpdateDeferredResource()

virtual void FDeferredUpdateResource::UpdateDeferredResource ( FRHICommandListImmediate &  RHICmdList,
bool  bClearRenderTarget = true 
)
protectedpure virtual

Updates (resolves) the render target texture.

Optionally clears the contents of the render target to green. This is only called by the rendering thread.

在 FTextureRenderTarget2DArrayResource, FTextureRenderTargetVolumeResource, FTextureRenderTarget2DResource , 以及 FTextureRenderTargetCubeResource 内被实现.


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