Navigation
API > API/Runtime > API/Runtime/Engine
FDeferredUpdateResource for resources that need to be updated after scene rendering has begun (should only be used on the rendering thread)
| Name | FDeferredUpdateResource |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/TextureResource.h |
| Include Path | #include "TextureResource.h" |
Syntax
class FDeferredUpdateResource
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDeferredUpdateResource() |
Constructor, initializing UpdateListLink. | TextureResource.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bNeedsUpdate | bool | If true then UpdateResources needs to be called | TextureResource.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOnlyUpdateOnce | bool | If true then remove this resource from the update list after a single update | TextureResource.h | |
| UpdateListLink | TLinkedList< FDeferredUpdateResource * > | This resource's link in the global list of resources needing clears. | TextureResource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FlushDeferredResourceUpdate
(
FRHICommandListImmediate& RHICmdList |
Performs a deferred resource update on this resource if it exists in the UpdateList. | TextureResource.h | |
void ResetSceneTextureExtentsHistory() |
TextureResource.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToDeferredUpdateList
(
bool OnlyUpdateOnce |
Add this resource to deferred update list | TextureResource.h | |
void RemoveFromDeferredUpdateList() |
Remove this resource from deferred update list | TextureResource.h | |
void UpdateDeferredResource
(
FRHICommandListImmediate& RHICmdList, |
Updates (resolves) the render target texture. | TextureResource.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TLinkedList< FDeferredUpdateResource * > *& GetUpdateList() |
Resources can be added to this list if they need a deferred update during scene rendering. | TextureResource.h | |
static bool IsUpdateNeeded() |
TextureResource.h | ||
static void ResetNeedsUpdate() |
This is reset after all viewports have been rendered | TextureResource.h | |
static void UpdateResources
(
FRHICommandListImmediate& RHICmdList |
Iterate over the global list of resources that need to be updated and call UpdateResource on each one. | TextureResource.h |