DevIL Documentation Home | Previous | Next

ilutIsEnabled, ilutIsDisabled

These two functions return whether a mode is disabled or enabled.


ILboolean ilutIsEnabled(
  ILenum Mode
);

ILboolean ilutIsDisabled( ILenum Mode );


Parameters

Mode
An enum indicating an ilut mode. The following values are accepted:

ILUT_PALETTE_MODE
Not used right now.
ILUT_OPENGL_CONV
Whether ilut is allowed to use GL_RGB8 and GL_RGBA8 instead of GL_RGB8 or GL_RGBA8 (useful with nVidia cards).

Remarks

ilutIsEnabled returns whether the mode indicated by Mode is enabled, and ilutIsDisabled returns whether it is disabled.

Error Codes

ILUT_INVALID_ENUM - Mode was of an invalid value.

See Also

ilutEnable, ilutDisable, ilutIsEnabled, ilutIsDisabled