FDeferredUpdateResource

[FDeferredUpdateResource](API\Runtime\Engine\FDeferredUpdateResource) for resources that need to be updated after scene rendering has begun (should only be used on the rendering thread)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureResource.h

Include

#include "TextureResource.h"

Syntax

class FDeferredUpdateResource

Remarks

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

Constructors

Name Description

Public function

FDeferredUpdateResource()

Constructor, initializing UpdateListLink.

Functions

Name Description

Protected function

void

 

AddToDeferredUpdateList

(
    bool OnlyUpdateOnce
)

Add this resource to deferred update list

Public function

void

 

FlushDeferredResourceUpdate

(
    FRHICommandListImmediate& RHICmdLi...
)

Performs a deferred resource update on this resource if it exists in the UpdateList.

Protected function

void

 

RemoveFromDeferredUpdateList()

Remove this resource from deferred update list

Public function Static

void

 

ResetNeedsUpdate()

This is reset after all viewports have been rendered

Protected function

void

 

UpdateDeferredResource

(
    FRHICommandListImmediate& RHICmdLi...,
    bool bClearRenderTarget
)

Updates (resolves) the render target texture.

Public function Static

void

 

UpdateResources

(
    FRHICommandListImmediate& RHICmdLi...
)

Iterate over the global list of resources that need to be updated and call UpdateResource on each one.

Constants

Name

Description

bNeedsUpdate

If true then UpdateResources needs to be called

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback