DevIL Documentation Home | Previous | Next

ilSetInteger

The ilSetInteger function sets the value of a selected mode.


ILvoid ilSetInteger(
  ILenum Mode,
  ILint Param
);

Parameters

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

Param
The value to set the mode with.

Remarks

ilSetInteger is ilGetInteger's counterpart.

Error Codes

IL_INVALID_ENUM - Mode was an invalid enum.
IL_INVALID_PARAM - Param was not in range.

See Also

ilGetBoolean, ilGetBooleanv, ilGetInteger, ilGetIntegerv