FTextureSource::InitCubeWithMipChain

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

Choose your operating system:

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.