DevIL Documentation Home | Previous | Next

ilutGetBoolean, ilutGetBooleanv, ilutGetInteger, ilutGetIntegerv

These functions return the value of a selected mode.

ILboolean ilutGetBoolean(
  ILenum Mode);

ILvoid ilutGetBooleanv( ILenum Mode, ILboolean *Param);
ILboolean ilutGetInteger( ILenum Mode);
ILvoid ilutGetIntegerv( ILenum Mode, ILboolean *Param);

Parameters

Mode
The mode value to be returned. The following values are accepted:
ILUT_VERSION_NUM
Returns the version number of the shared library. This can be checked against the ILUT_VERSION #define.
ILUT_PALETTE_MODE
Whether ilut uses palettes or converts the image to truecolour before sending it to the renderer.
ILUT_OPENGL_CONV
Whether to use GL_RGB8 or GL_RGB, etc. when passing data to OpenGL only.
Param
When used, the value is stored here instead of returned.


Remarks

The ilutGetBoolean and ilutGetInteger functions return the value of a selected mode. The ilutGetBooleanv and ilutGetIntegerv functions return the mode value in the Param parameter.

Error Codes

ILUT_INVALID_ENUM - Mode was an invalid enum.
ILUT_INVALID_PARAM - Param was NULL.

See Also

ilGetBoolean, ilGetBooleanv, ilGetInteger, ilGetIntegerv, iluGetInteger, iluGetIntegerv