|
s OpenGL counterpart glEnable.
| ILboolean ilEnable( ILenum Mode );
|
Parameters
Modes | - 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.
|
Errors
See Also
|