| DevIL Documentation | Home | Previous | Next |
The ilSetInteger function sets file format-specific parameters.
ILvoid ilSetInteger(
ILenum Mode,
ILint Param
);
ilSetInteger sets DevIL's behaviour with specific file formats. Since file formats have features that make them unique, DevIL is able to control these via ilSetInteger.
IL_INVALID_ENUM - Mode was an invalid enum.
IL_INVALID_PARAM - The value in Param was invalid or out of bounds for the specific mode.
ilGetBoolean, ilGetBooleanv, ilGetInteger, ilGetIntegerv