UTextureRenderTarget2D::ResizeTarget

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

Choose your operating system:

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