DevIL Documentation Previous | ILU | Next

 

iluSaturate4f

 

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.

 

ILboolean iluSaturate4f(
  ILfloat r, ILfloat g, ILfloat b );


Parameters

 
r
Amount of red to use from the original image
g
Amount of green to use from the original image
b
Amount of blue to use from the original image


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, iluGammaCorrectScale,