DevIL Documentation Previous | ILUT | Next

 

ilutGLScreen

 

ilutGLScreen copies the current OpenGL window contents to the current bound image, effectively taking a screenshot. The new image attributes are that of the current OpenGL window's.

 

ILboolean ilutGLScreen(
  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.
ILUT_OUT_OF_MEMORY
Could not allocate enough memory for the palette.

See Also

 
ilBindImage, ilGenImages, ilutGLScreenie,