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/Texture2D.cpp |
int32 GetNumMipsAllowed
&40;
bool bIgnoreMinResidency
&41; const
Remarks
Calculates the maximum number of mips that will be in this texture after cooking (eg. after the "drop mip" lod bias is applied). This function is not correct and should not be used.
The cinematic mips will be considered as loadable, streaming enabled or not. Note that in the cooking process, mips smaller than the min residency count can be stripped out by the cooker. The maximum allowed number mips for this texture.
Parameters
Name | Description |
---|---|
bIgnoreMinResidency | Whether to ignore min residency limitations. |