|DevIL Documentation||Home | Previous | Next|
The iluInvertAlpha function inverts the alpha of the currently bound image.
ILboolean iluInvertAlpha( ILvoid );
iluInvertAlpha inverts the alpha channel of the currently bound image.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function. Also, the image may not have an alpha channel to invert.
ilGenImages, ilBindImage, ilGetAlpha