DevIL Documentation Home | Previous | Next

iluGetInteger, iluGetIntegerv

These functions return the value of a selected mode.


ILboolean iluGetInteger(
  ILenum Mode
);

ILvoid iluGetIntegerv( ILenum Mode, ILboolean *Param );


Parameters

Mode
The mode value to be returned. The following values are accepted:

ILU_VERSION_NUM
Returns the version number of the shared library. This can be checked against the ILU_VERSION #define.

Param
When used, the value is stored here instead of returned.

Remarks

The iluGetInteger function returns the value of a selected mode. The iluGetIntegerv function returns the mode value in the Param parameter.

Error Codes

ILU_INVALID_ENUM - Mode was an invalid enum.
ILU_INVALID_PARAM - Param was NULL.

See Also

ilGetBoolean, ilGetBooleanv, ilGetInteger, ilGetIntegerv, ilutGetBoolean, ilutGetBooleanv, ilutGetInteger, ilutGetIntegerv