Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UKismetRenderingLibrary
Description
Manually releases GPU resources of a render target. This is useful for blueprint creating a lot of render target that would normally be released too late by the garbage collector that can be problematic on platforms that have tight GPU memory constrains.
| Name | ReleaseRenderTarget2D |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h |
| Include Path | #include "Kismet/KismetRenderingLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Rendering")
static void ReleaseRenderTarget2D
(
UTextureRenderTarget2D * TextureRenderTarget
)