DevIL Documentation Home | Previous | Next

ilRegisterMipNum

The ilRegisterMipNum function registers the current image's number of mipmaps.


ILboolean ilRegisterMipNum(
  ILuint Num
);

Parameters

Num
Number of mipmaps to create.

Remarks

ilRegisterMipNum tells OpenIL the number of mipmaps the current image has. The mipmaps can then be chosen and modified via ilActiveMipmap. This function is to be used from within functions that have been registered via ilRegisterLoad.

Error Codes

None

See Also

ilActiveMipmap, ilRegisterNumImages, ilRegisterLoad