LevelIndex

Level scope index of this texture.

Windows
MacOS
Linux

Syntax

int32 LevelIndex

Remarks

Level scope index of this texture. It is used to reduce the amount of lookup to map a texture to its level index. Useful when building texture streaming data, as well as when filling the texture streamer with precomputed data. It relates to FStreamingTextureBuildInfo::TextureLevelIndex and also the index in [ULevel::StreamingTextureGuids](API\Runtime\Engine\Engine\ULevel\StreamingTextureGuids). Default value of -1, indicates that the texture has an unknown index (not yet processed). At level load time, -2 is also used to indicate that the texture has been processed but no entry were found in the level table. After any of these processes, the LevelIndex is reset to INDEX_NONE. Making it ready for the next level task.

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