GetTextureFormat
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns format of a .dds texture file using its filepath relative to Data\Textures folder. Returns values 1 to 5 corresponding to DXT1 to DXT5.
Syntax
(int) GetTextureFormat path:string
Example
set iFormat to GetTextureFormat "myTexture.dds"
Notes
- Since version 5.06, the function supports textures packed into BSA archives as well as loose files.