NIF File Format Documentation

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

PixelFormat

Specifies the pixel format used by the NiPixelData object to store a texture.

Choices

Number Name Description
0 PX_FMT_RGB8 24-bit color: uses 8 bit to store each red, blue, and green component.
1 PX_FMT_RGBA8 32-bit color with alpha: uses 8 bits to store each red, blue, green, and alpha component.
2 PX_FMT_PAL8 8-bit palette index: uses 8 bits to store an index into the palette stored in a NiPalette object.
4 PX_FMT_DXT1 DXT1 compressed texture.
5 PX_FMT_DXT5 DXT5 compressed texture.
6 PX_FMT_DXT5_ALT DXT5 compressed texture. It is not clear what the difference is with PX_FMT_DXT5.

Storage Type

unsigned int

Found In