DevIL Documentation Home | Previous | Next

iluLoadImage

The iluLoadImage function loads an image and returns an image id for it.

ILuint iluLoadImage(
  char *FileName);


Parameters

FileName
Filename of the image to load.


Remarks

iluLoadImage is exactly like ilLoadImage, except it returns an ILuint instead of an ILboolean. The ILuint returned is the image id, so you do not have to call ilBindImage beforehand.

Error Codes

Same as ilLoadImage and ilBindImage.

See Also

ilLoadImage, ilBindImage