DevIL Documentation Previous | ILUT | Next

 

ilutGLBindMipmaps

 

The ilutGLBindMipmaps function binds an image to an OpenGL texture and creates mipmaps, generates a texture via glGenTextures, binds the current OpenIL image to it, generates mipmaps via gluBuild2DMipmaps and returns the texture name. This function is a more general purpose version of ilutOglBindTexImage.

 

GLuint ilutGLBindMipmaps(
  ILvoid );


Parameters

 

None


Errors

 
ILUT_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects.

See Also

 
ilActiveMipmap, ilBindImage, ilGenImages, ilutGLBindTexImage, ilutGLBuildMipmaps,