UTexture2D::GetMipData

Get mip data starting with the specified mip index.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture2D.h

Include

#include "Engine/Texture2D.h"

Source

/Engine/Source/Runtime/Engine/Private/TextureDerivedData.cpp

Syntax

void GetMipData
(
    int32 FirstMipToLoad,
    void ** OutMipData
)

Remarks

Get mip data starting with the specified mip index.

Parameters

Parameter

Description

FirstMipToLoad

The first mip index to cache.

OutMipData

Must point to an array of pointers with at least Mips.Num() - FirstMipToLoad + 1 entries. Upon return those pointers will contain mip data.