# NIF File Format Documentation

NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

## TexSource

A texture source.

### Attributes

Name | Type | Arg | Arr1 | Arr2 | Cond | Description | From | To
--- | --- | --- | --- | --- | --- | --- | --- | ---
Use External | byte |  |  |  |  | Is the texture external? |  |
File Name | FilePath |  |  |  | useExternal == 1 | The external texture file name. Note: all original morrowind nifs use name.ext only for addressing the textures, but most mods use something like textures/[subdir/]name.ext. This is due to a feature in Morrowind resource manager: it loads name.ext, textures/name.ext and textures/subdir/name.ext but NOT subdir/name.ext. |  |
Unknown Link | Ref<NiObject> |  |  |  | useExternal == 1 | Unknown. | 10.1.0.0 |
Unknown Byte | byte |  |  |  | useExternal == 0 | Unknown. |  | 10.0.1.0
File Name | FilePath |  |  |  | useExternal == 0 | The original source filename of the image embedded by the referred NiPixelData object. | 10.1.0.0 |
Pixel Data | Ref<NiPixelData> |  |  |  | useExternal == 0 | Pixel data object index. |  |

### Found In