DevIL Documentation Home | Previous | Next

iluInvertAlpha

The iluInvertAlpha function inverts the alpha of the currently bound image.


ILboolean iluInvertAlpha(
  ILvoid
);

Parameters

None

Remarks

iluInvertAlpha inverts the alpha channel of the currently bound image.

Error Codes

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.

See Also

ilGenImages, ilBindImage, ilGetAlpha