DevIL Documentation Home | Previous | Next

iluErrorString

The iluErrorString function returns a string describing errors.


const ILbyte* iluErrorString(
  ILenum Error
);

Parameters

Error
Error to convert to string.

Remarks

iluErrorString returns a human-readable string of the error in Error. This can be useful for displaying the human-readable error in your program to let the user know wtf just happened.

Error Codes

ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function. ILU_OUT_OF_MEMORY -

See Also

ilGetError