DevIL Documentation Home | Previous | Next


The ilGenImages function generates image names.

ILvoid ilGenImages(
  ILsizei Num,
  ILuint Images


Number of image names to generate.

Pointer in which the generated image names are stored.


ilGenImages stores Num image names in Images. The names stored are not necessarily contiguous, and names can have been deleted via ilDeleteImages beforehand. The image names stored in Images can be used with ilBindImage after calling ilGenImages. After calling ilGenImages, all image dimensions and features are undefined.

Error Codes

IL_INVALID_VALUE - Num was less than 1 or Images was NULL.

See Also

ilBindImage, ilDeleteImages