DevIL Documentation | Home | Previous | Next |
The ilDeleteImages function deletes image names from the image stack.
ILvoid ilDeleteImages(
ILsizei Num,
const ILuint *Images
);
ilDeleteImages deletes Num image names specified in Images. After a texture is deleted, its characteristics and dimensions are undefined, and the name may be reused by ilGenImages. ilDeleteImages ignores zeros and out-of-bounds image names. If the current image is deleted, the binding reverts to the default image (image name of 0).
IL_INVALID_VALUE - Num was less than one.