DevIL Documentation | Home | Previous | Next |
The iluGetImageInfo function retrieves information about the current image in an easy format.
ILvoid iluGetImageInfo(
ILinfo *Info
);
The iluGetImageInfo function retrieves information about the current image in an ILinfo struct. This is useful when you are repeatedly calling ilGetInteger and is more efficient in this case. The ILinfo struct is described below:
typedef struct ILinfo
{
ILU_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function. This error is also produced when Info is NULL.
ilGetBoolean, ilGetBooleanv, ilGetInteger, ilGetIntegerv