Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FDeferredUpdateResource
- FTextureRenderTargetResource
- FSlateTextureRenderTarget2DResource
- FTextureRenderTarget2DArrayResource
- FTextureRenderTarget2DResource
- FTextureRenderTargetCubeResource
- FTextureRenderTargetVolumeResource
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
| Type | Name | Description | |
|---|---|---|---|
| Constructor, initializing UpdateListLink. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToDeferredUpdateList
(
bool OnlyUpdateOnce |
Add this resource to deferred update list | |
| void | FlushDeferredResourceUpdate
(
FRHICommandListImmediate& RHICmdList |
Performs a deferred resource update on this resource if it exists in the UpdateList. | |
| bool | |||
| void | Remove this resource from deferred update list | ||
| void | This is reset after all viewports have been rendered | ||
| void | |||
| void | UpdateDeferredResource
(
FRHICommandListImmediate& RHICmdList, |
Updates (resolves) the render target texture. | |
| void | UpdateResources
(
FRHICommandListImmediate& RHICmdList |
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 |