FTexturePlatformData::TryLoadMips

Try to load mips from the derived data cache.

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/TextureDerivedData.cpp

Syntax

bool TryLoadMips
(
    int32 FirstMipToLoad,
    void ** OutMipData,
    UTexture * Texture
)

Remarks

Try to load mips from the derived data cache.

Returns

true if all requested mips have been loaded.

Parameters

Parameter

Description

FirstMipToLoad

The first mip index to load.

OutMipData

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

Texture

The texture to load mips for.

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