|DevIL Documentation||Home | Previous | Next|
The ilutGLBuildMipmaps function creates mipmaps from an image for OpenGL to use.
ILboolean ilutGLBuildMipmaps( ILvoid );
ilutGLBuildMipmaps generates mipmaps via gluBuild2DMipmaps from an image. This function is similar to ilutGLTexImage but creates mipmaps.
ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, ilutGLBindMipmaps