FTextureSource::InitCubeWithMipChain

Initializes the source data for a cubemap 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 InitCubeWithMipChain
(
    int32 NewSizeX,
    int32 NewSizeY,
    ETextureSourceFormat NewFormat
)

Remarks

Initializes the source data for a cubemap with a full mip chain.

Parameters

Parameter

Description

NewSizeX

Width of each cube map face.

NewSizeY

Height of each cube map face.

NewFormat

Format of the cube map 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