DevIL Documentation | Home | Previous | Next |
The ilIsImage function determines if an image name is in use.
ILboolean ilIsImage(
ILuint Image
);
ilIsImage returns whether the image name in Image is a valid image in use. If the image name in Image is in use, ilIsImage returns IL_TRUE. If Image is 0, ilIsImage returns IL_FALSE, because the default image is a special image and is never returned by ilGenImages. If the image name has been deleted by ilDeleteImages or never generated by ilGenImages, IL_FALSE is returned.
None
ilCreateDefaultTex, ilGenImages, ilDeleteImages