DevIL Documentation Previous | ILU | Next

 

iluErrorString

 

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.

 

const ILbyte* iluErrorString(
  ILenum StringName );


Parameters

 
StringName
Enum that describes the string to be retrieved.


Values

 
ILU_VENDOR
Describes the OpenILU vendor.
ILU_VERSION_NUM
Use iluGetInteger with ILU_VERSION_NUM to check for version differences instead.

Errors

 
ILU_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.
ILU_OUT_OF_MEMORY
Could not allocate enough memory in an operation

See Also

 
ilGetError,