![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TextureResource.h>
Inheritance diagram for FDeferredUpdateResource:Public Member Functions | |
| FDeferredUpdateResource () | |
| ENGINE_API void | FlushDeferredResourceUpdate (FRHICommandListImmediate &RHICmdList) |
| ENGINE_API void | ResetSceneTextureExtentsHistory () |
Static Public Member Functions | |
| static ENGINE_API void | UpdateResources (FRHICommandListImmediate &RHICmdList) |
| static void | ResetNeedsUpdate () |
| static bool | IsUpdateNeeded () |
Protected Member Functions | |
| virtual void | UpdateDeferredResource (FRHICommandListImmediate &RHICmdList, bool bClearRenderTarget=true)=0 |
| ENGINE_API void | AddToDeferredUpdateList (bool OnlyUpdateOnce) |
| ENGINE_API void | RemoveFromDeferredUpdateList () |
FDeferredUpdateResource for resources that need to be updated after scene rendering has begun (should only be used on the rendering thread)
|
inline |
Constructor, initializing UpdateListLink.
Add this resource to deferred update list
| OnlyUpdateOnce | - flag this resource for a single update if true |
| void FDeferredUpdateResource::FlushDeferredResourceUpdate | ( | FRHICommandListImmediate & | RHICmdList | ) |
Performs a deferred resource update on this resource if it exists in the UpdateList.
|
protected |
Remove this resource from deferred update list
This is reset after all viewports have been rendered
| void FDeferredUpdateResource::ResetSceneTextureExtentsHistory | ( | ) |
|
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.
Implemented in FSlateTextureRenderTarget2DResource, FTextureRenderTarget2DArrayResource, FTextureRenderTargetVolumeResource, FTextureRenderTarget2DResource, and FTextureRenderTargetCubeResource.
|
static |
Iterate over the global list of resources that need to be updated and call UpdateResource on each one.