GetTextureWidth
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Returns width of a .dds texture file using its filepath relative to Data\Texures folder.
Syntax
(int) GetTextureWidth path:string
Example
set iWidth to GetTextureWidth "myTexture.dds"
Notes
- Since version 5.06, the function supports textures packed into BSA archives as well as loose files.