|
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 byilGenImages, IL_FALSE is returned.
| ILboolean ilConvertPal( ILenum DestFormat );
|
Parameters | - DestFormat
- The format the current image palette should be converted to. Accepted Values are:
- IL_PAL_RGB24
- IL_PAL_RGB32
- IL_PAL_RGBA32
- IL_PAL_BGR24
- IL_PAL_BGR32
- IL_PAL_BGRA32
|
Errors | - IL_ILLEGAL_OPERATION
- There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
- IL_OUT_OF_MEMORY
- Could not allocate memory for the new image palette.
|
See Also
|