11. TexImgNode

(1) TexImg

u32 mipmap_max_level When MipMap is used, the MipMap image is stored in the TexImgData area.

This describes the maximum number of levels.

If MipMap is not used, please describe with the following flag:

NIFF2_NO_MIPMAP	0x00000000

The maximum value for the MipMap level is stipulated with the following flag. Level numbers greater than this cannot be reproduced on N64.


In addition, the value for mipmap_max_level must be set greater than the value for TexNode -> mipmap_level.
u32 mipmap_img_offset The offset for each level of the MipMap image stored in the TexImgData area is described in bytes. When MipMap is used, the texture image levels are stored in the TexImgData area in order, starting from level 0.

mipmap_img_offset(0) is the offset value for Level 1 mipmap images. Since the offset for Level 0 is always zero (0), there is no storage area for these data.

This field is not described when MipMap is not used.

Go to the data chunk