DevIL Documentation Previous | ILU | Next

 

iluSaturate1f

 

iluSaturate1f applies a saturation consistent with the IL_LUMINANCE conversion values to red, green and blue.

 

ILboolean iluSaturate1f(
  ILfloat Saturation );


Parameters

 
Saturation
Amount of saturation to apply to the current bound image. the value must go from -1.0 to 1.0


Errors

 
ILU_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.

See Also

 
ilBindImages, ilGenImages, iluSaturate4f,