![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <LandscapeEditResourcesSubsystem.h>
Public Member Functions | |
| FScratchRenderTargetParams ()=default | |
| FScratchRenderTargetParams (const FString &InDebugName, bool bInExactDimensions, bool bInUseUAV, bool bInTargetArraySlicesIndependently, const FIntPoint &InResolution, int32 InNumSlices, ETextureRenderTargetFormat InFormat, const FLinearColor &InClearColor, ERHIAccess InInitialState) | |
|
default |
|
inlineexplicit |
Use this to make sure the returned render target has the exact dimension as was requested (if false, a larger RT might be recycled)
Requires the render target to have the ETextureCreateFlags::TargetArraySlicesIndependently flag
Requires the render target to have the ETextureCreateFlags::UAV flag
| FLinearColor UE::Landscape::FScratchRenderTargetParams::ClearColor = FLinearColor(ForceInitToZero) |
Default clear color of the requested render target
| FString UE::Landscape::FScratchRenderTargetParams::DebugName |
Allows to specify a friendly name for this render target (for the duration that the scratch render target is in use : a new name will be used the next time it's recycled)
| ETextureRenderTargetFormat UE::Landscape::FScratchRenderTargetParams::Format = ETextureRenderTargetFormat::RTF_RGBA8 |
Format of the requested render target
| ERHIAccess UE::Landscape::FScratchRenderTargetParams::InitialState = ERHIAccess::None |
(optional) State the render target should be in when it's being requested
| int32 UE::Landscape::FScratchRenderTargetParams::NumSlices = 0 |
Number of slices requested for this render target. 0 means the render target will be a UTextureRenderTarget2D, > 0 means it will be a UTextureRenderTarget2DArray
Requested (minimal) resolution for this render target