Tao.DevIl SDK Documentation

Il.ilEnable Method 

s OpenGL counterpart glEnable.

[Visual Basic]
Public Shared Function ilEnable( _
   ByVal Mode As Integer _
) As Boolean
[C#]
public static bool ilEnable(
   int Mode
);

Parameters

Mode
Mode to enable.

Return Value

Remarks

IL_CONV_PAL - When enabled, OpenIL automatically converts palette'd images to their base types, e.g. converting to a bgra image.

IL_FILE_OVERWRITE - If enabled while saving, OpenIL will overwrite existing files, else IL_FILE_ALREADY_EXISTS is set, and the image is not saved.

IL_ORIGIN_SET - When enabled, the origin is specified at an absolute position, and all images loaded or saved adhere to this set origin. For more information, check out ilOriginFunc.

See Also

Il Class | Tao.DevIl Namespace