Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/TextureLODSettings.h |
Include |
#include "Engine/TextureLODSettings.h" |
Source |
/Engine/Source/Runtime/Engine/Private/TextureLODSettings.cpp |
Calculates and returns the LOD bias based on the information provided.
LOD bias
Parameter |
Description |
---|---|
Width |
Width of the texture |
Height |
Height of the texture |
LODGroup |
Which LOD group the texture belongs to |
LODBias |
LOD bias to include in the calculation |
NumCinematicMipLevels |
The texture cinematic mip levels to include in the calculation |
MipGenSetting |
Mip generation setting |
bVirtualTexture |
If VT is enabled (in this case group's max LOD is ignored) |