DevIL Documentation | Home | Previous | Next |
The ilGenImages function generates image names.
ILvoid ilGenImages(
ILsizei Num,
ILuint Images
};
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.
IL_INVALID_VALUE - Num was less than 1 or Images was NULL.