DevIL Documentation Home | Previous | Next

ilClearColour

The ilClearColour function sets the current clearing colour.


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.

Remarks

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.

Error Codes

None

See Also

ilClearImage, iluRotate, iluEnlargeCanvas