DevIL Documentation Previous | ILU | Next

 

iluBuildMipmaps

 

iluBuildMipmaps generates power-of-2 mipmaps for an image. If the image does not have power-of-2 dimensions, then the image is resized via iluScale. Mipmaps are then generated for the image, down to a 1x1 image. To use the mipmaps, see ilActiveMipmap.

 

ILboolean iluBuildMipmaps(
  ILvoid );


Parameters

 

None


Errors

 
ILU_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.

See Also

 
ilActiveMipmap, ilBindImage, ilGenImages, iluScale,