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

PixelFormat

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

Choices

Number Name Description
0 PX_FMT_RGB 24-bit RGB. 8 bits per red, blue, and green component.
1 PX_FMT_RGBA 32-bit RGB with alpha. 8 bits per red, blue, green, and alpha component.
2 PX_FMT_PAL 8-bit palette index.
3 PX_FMT_PALA 8-bit palette index with alpha.
4 PX_FMT_DXT1 DXT1 compressed texture.
5 PX_FMT_DXT3 DXT3 compressed texture.
6 PX_FMT_DXT5 DXT5 compressed texture.
7 PX_FMT_RGB24NONINT (Deprecated) 24-bit noninterleaved texture, an old PS2 format.
8 PX_FMT_BUMP Uncompressed dU/dV gradient bump map.
9 PX_FMT_BUMPLUMA Uncompressed dU/dV gradient bump map with luma channel representing shininess.
10 PX_FMT_RENDERSPEC Generic descriptor for any renderer-specific format not described by other formats.
11 PX_FMT_1CH Generic descriptor for formats with 1 component.
12 PX_FMT_2CH Generic descriptor for formats with 2 components.
13 PX_FMT_3CH Generic descriptor for formats with 3 components.
14 PX_FMT_4CH Generic descriptor for formats with 4 components.
15 PX_FMT_DEPTH_STENCIL Indicates the NiPixelFormat is meant to be used on a depth/stencil surface.
16 PX_FMT_UNKNOWN PX_FMT_UNKNOWN

Storage Type

uint

Found In