| DevIL Documentation | Home | Previous | Next | 
These functions modify the saturation of an image.
ILboolean iluSaturate1f(
  ILfloat Saturation
);
ILboolean iluSaturate4f(
  ILfloat r,
  ILfloat g,
  ILfloat b,
  ILfloat Saturation
);
iluSaturate1f applies a saturation consistent with the IL_LUMINANCE conversion values to red, green and blue. iluSaturate4f applies saturation to the colour components in the amounts specified. All parameters go from -1.0 to 1.0.
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.