Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UTexture2D
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 |
void GetMipData
&40;
int32 FirstMipToLoad,
void &42;&42; OutMipData
&41;
Remarks
Get the PlatformData mip data starting with the specified mip index.
prefer TryLoadMipsWithSizes
todo: deprecate this API when possible this API is also duplicated in Texture2DArray and TextureCube unify and fix them all also don't use "GetMipData" as that is the name used for TextureSource
Parameters
Name | 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. |