UKismetRenderingLibrary::ReleaseRenderTarget2D

Manually releases GPU resources of a render target.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetRenderingLibrary.h

Include

#include "Kismet/KismetRenderingLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetRenderingLibrary.cpp

Syntax

static void ReleaseRenderTarget2D
(
    UTextureRenderTarget2D * TextureRenderTarget
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss