FTextureSource::Init2DWithMipChain

Initializes the source data for a 2D texture with a full mip chain.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture.h

Include

#include "Engine/Texture.h"

Source

/Engine/Source/Runtime/Engine/Private/Texture.cpp

Syntax

void Init2DWithMipChain
(
    int32 NewSizeX,
    int32 NewSizeY,
    ETextureSourceFormat NewFormat
)

Remarks

Initializes the source data for a 2D texture with a full mip chain.

Parameters

Parameter

Description

NewSizeX

Width of the texture source data.

NewSizeY

Height of the texture source data.

NewFormat

Format of the texture source data.

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