# NIF File Format Documentation

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

## TexFilterMode

Specifies the availiable texture filter modes. That is, the way pixels within a texture are blended together when textures are displayed on the screen at a size other than their original dimentions.

### Choices

Number | Name | Description
--- | --- | ---
0 | FILTER_NEAREST | Simply uses the nearest pixel. Very grainy.
1 | FILTER_BILERP | Uses bilinear filtering.
2 | FILTER_TRILERP | Uses trilinear filtering.
3 | FILTER_NEAREST_MIPNEAREST | Uses the nearest pixel from the mipmap that is closest to the display size.
4 | FILTER_NEAREST_MIPLERP | Blends the two mipmaps closest to the display size linearly, and then uses the nearest pixel from the result.
5 | FILTER_BILERP_MIPNEAREST | Uses the closest mipmap to the display size and then uses bilinear filtering on the pixels.

### Storage Type

unsigned int

### Found In

- NiTextureEffect
- MultiTextureElement
- TexDesc