NIF File Format Documentation

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

ATextureRenderData

Attributes

Name Type Arg Arr1 Arr2 Cond Description FromTo
From NiObject
From ATextureRenderData
Pixel Format PixelFormat The format of the pixels in this internally stored image.
Red Mask uint 0x000000ff (for 24bpp and 32bpp) or 0x00000000 (for 8bpp) 10.2.0.0
Green Mask uint 0x0000ff00 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp) 10.2.0.0
Blue Mask uint 0x00ff0000 (for 24bpp and 32bpp) or 0x00000000 (for 8bpp) 10.2.0.0
Alpha Mask uint 0xff000000 (for 32bpp) or 0x00000000 (for 24bpp and 8bpp) 10.2.0.0
Bits Per Pixel byte Bits per pixel, 0 (?), 8, 24 or 32. 10.2.0.0
Unknown 3 Bytes byte 3 Zero? 10.2.0.0
Unknown 8 Bytes byte 8 [96,8,130,0,0,65,0,0] if 24 bits per pixel
[129,8,130,32,0,65,12,0] if 32 bits per pixel
[34,0,0,0,0,0,0,0] if 8 bits per pixel
[4,0,0,0,0,0,0,0] if 0 (?) bits per pixel
10.2.0.0
Unknown Int uint Seems to always be zero. 10.1.0.0 10.2.0.0
Bits Per Pixel byte Bits per pixel, 0 (?), 8, 24 or 32. 20.0.0.4
Unknown Int 2 int Unknown. Could be reference pointer. 20.0.0.4
Unknown Int 3 uint Seems to always be zero. 20.0.0.4
Flags byte Flags 20.0.0.4
Unknown Int 4 uint Unkown. Often zero. 20.0.0.4
Unknown Byte 1 byte Unknown. 20.3.0.6
Channels ChannelData 4 Channel Data 20.0.0.4
Palette Ref<NiPalette> Link to NiPalette, for 8-bit textures.
Num Mipmaps uint Number of mipmaps in the texture.
Bytes Per Pixel uint Bytes per pixel (Bits Per Pixel / 8).
Mipmaps MipMap Num Mipmaps Mipmap descriptions (width, height, offset).

Parent Of