DevIL Documentation | Home | Previous | Next |
These functions enable or disable an OpenIL state.
ILboolean ilEnable(
ILenum Mode
);
ILboolean ilDisable(
ILenum Mode
);
ilEnable enables a mode specified by Mode. ilDisable disables a mode specified by Mode. These two functions are identical to their OpenGL counterparts - glEnable and glDisable.
A list of available modes and their meaning:
IL_INVALID_ENUM - Mode was of an unsupported value.
ilIsEnabled, ilIsDisabled, ilutEnable, ilutDisable, ilOriginFunc