GetTextureMipMapCount

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns mipmap count of a .dds texture file using its filepath relative to Data\Textures folder.

Syntax

[help]
(int) GetTextureMipMapCount path:string

Example

set iMipMapCount to GetTextureMipMapCount "myTexture.dds" 

Notes

  • Since version 5.06, the function supports textures packed into BSA archives as well as loose files.

See Also