DevIL Documentation Previous | IL | Next

 

ilDeleteImages

 

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 byilGenImages. 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).

 

ILvoid ilDeleteImages(
  ILsizei Num, const ILuint * Images );


Parameters

 
Num
Number of image names to delete.
Images
Pointer to image names to delete.


Errors

 
IL_INVALID_VALUE
Num was less than one.

See Also

 
ilBindImage, ilGenImages,