UTextureRenderTarget2DArray::Init

Initialize the settings needed to create a render target texture and create its resource

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget2DArray.h

Include

#include "Engine/TextureRenderTarget2DArray.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureRenderTarget2DArray.cpp

Syntax

void Init
(
    uint32 InSizeX,
    uint32 InSizeY,
    uint32 InSlices,
    EPixelFormat InFormat
)

Remarks

Initialize the settings needed to create a render target texture and create its resource

Parameters

Parameter

Description

InSizeX

width of the texture

InSizeY

height of the texture

InSlices

slices of the texture

InFormat

format of the texture