NonStreamingMips is calculated using the following formula:
TextureMemory2D + TextureMemory3D + TextureMemoryCube - WantedMips - CachedMips

TextureMemory2D + TextureMemory3D + TextureMemoryCube is summed as GCurrentTextureMemorySize in D3D11Texture.cpp.

Displaying (TextureMemoryUsed-WantedMips-CachedMips) as NonStreamingMips is easier to understand for developers.

Steps to Reproduce
  • Open a project.  (sample image is from ThirdPersonTemplate)
  • Put stat memory / stat streaming / stat rhi via console
  • See NonStreamingMips is greater than TextureMemoryUsed
  • It confuses developers

[Image Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-85384 in the post.

Login to Vote

Target Fix4.26
CreatedDec 4, 2019
UpdatedFeb 27, 2020