DevIL Documentation | Home | Previous | Next |
The iluScaleColours function scales the colours of an image.
ILboolean iluScaleColours(
ILfloat r,
ILfloat g,
ILfloat b
);
iluScaleColours scales the individual colour components of the current bound image. Using 1.0f as any of the parameters yields that colour component's original plane in the new image.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, iluGammaCorrectInter, iluGammaCorrectScale