UTextureRenderTarget2D::ResizeTarget

Resizes the render target without recreating the [FTextureResource](API\Runtime\Engine\FTextureResource).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2D.h

Include

#include "Engine/TextureRenderTarget2D.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureRenderTarget2D.cpp

Syntax

void ResizeTarget
(
    uint32 InSizeX,
    uint32 InSizeY
)

Remarks

Resizes the render target without recreating the FTextureResource. Will not flush commands unless the render target resource doesnt exist

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