Tao.DevIl SDK Documentation

Il.ilClearImage Method 

ilClearImage simply clears the image to the colours specified in ilClearColour. If the current image is of format IL_COLOR_INDEX, the image is cleared to all zeros, and the palette is changed to one entry of all zeros. If the current image is of format IL_LUMINANCE, the image is cleared to all zeros.

[Visual Basic]
Public Shared Function ilClearImage() As Boolean
[C#]
public static bool ilClearImage();

Return Value

See Also

Il Class | Tao.DevIl Namespace