DevIL Documentation Previous | IL | Next

 

ilDisable

 

s OpenGL counterpart glDisable.

 

ILboolean ilDisable(
  ILenum Mode );


Parameters

 
Mode
Mode to disable.


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

 
IL_INVALID_ENUM
Invalid Mode value.

See Also

 
ilEnable, ilIsDisabled, ilIsEnabled, ilOriginFunc, ilutDisable, ilutEnable,