UTextureRenderTarget2D::InitAutoFormat

Initializes the render target, the format will be derived from the value of bHDR.

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 InitAutoFormat
(
    uint32 InSizeX,
    uint32 InSizeY
)

Remarks

Initializes the render target, the format will be derived from the value of bHDR.