DevIL Documentation Previous | ILUT | Next

 

ilutGLScreenie

 

ilutGLScreen copies the current OpenGL window contents to a temporary image, effectively taking a screenshot. The screenshot image is then saved to disk as screen0.tga - screen127.tga (the lowest name it can find). This is just a convenience function that uses ilutGLScreen.

 

ILboolean ilutGLScreenie(
  ILvoid );


Parameters

 

None


Errors

 
ILUT_COULD_NOT_OPEN_FILE
All possible files already exist.
ILUT_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects.
ILUT_OUT_OF_MEMORY
Could not allocate enough memory for the palette.

See Also

 
ilBindImage, ilGenImages, ilutGLScreen,