DevIL Documentation Previous | IL | Next

 

ilClearColour

 

ilClearColour sets the current clearing colour to be used by future calls to ilClearImage. iluRotate and iluEnlargeCanvas both use these values to clear blank space in images, too.

 

ILvoid ilClearColour(
  ILubyte Red, ILubyte Green, ILubyte Blue, ILubyte Alpha );


Parameters

 
Red
Amount of red to clear to.
Green
Amount of green to clear to.
Blue
Amount of blue to clear to.
Alpha
Amount of alpha to clear to.


See Also

 
ilClearImage, iluEnlargeCanvas, iluRotate,