![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include "LandscapeEditReadback.h"#include "Engine/Texture2D.h"#include "LandscapePrivate.h"#include "RenderingThread.h"#include "RenderUtils.h"#include "Hash/CityHashHelpers.h"Classes | |
| struct | FLandscapeEditReadbackTaskImpl |
| class | FLandscapeEditReadbackTaskPool |
Namespaces | |
| namespace | UE |
| namespace | UE::Landscape |
| namespace | UE::Landscape::Private |
| void InitTask_GameThread | ( | FLandscapeEditReadbackTaskImpl & | Task, |
| UTexture2D const * | InTexture, | ||
| FLandscapeEditLayerReadback::FReadbackContext && | InReadbackContext, | ||
| uint32 | InFrameId | ||
| ) |
Initialize the read back task data that is written by game thread.
| bool InitTask_RenderThread | ( | FRHICommandListImmediate & | RHICmdList, |
| FLandscapeEditReadbackTaskImpl & | Task | ||
| ) |
Initialize the read back task resources.
| void KickTask_RenderThread | ( | FRHICommandListImmediate & | RHICmdList, |
| FLandscapeEditReadbackTaskImpl & | Task | ||
| ) |
Kick the GPU work for the read back task.
| bool UpdateTask_RenderThread | ( | FRHICommandListImmediate & | RHICmdList, |
| FLandscapeEditReadbackTaskImpl & | Task, | ||
| bool | bFlush | ||
| ) |
Update the read back task on the render thread. Check if the GPU work is complete and if it is copy the data.