Registering and unregistering loaders/savers for user defined image types.
More...
|
void ILAPIENTRY | ilRegisterFormat (ILenum Format) |
| Sets the pixel data format of the currently bound image (no conversion). More...
|
|
ILboolean ILAPIENTRY | ilRegisterLoad (ILconst_string Ext, IL_LOADPROC Load) |
| Register a file loading function for a file extension.
|
|
ILboolean ILAPIENTRY | ilRegisterMipNum (ILuint Num) |
| Preallocates mipmap images for the currently bound image.
|
|
ILboolean ILAPIENTRY | ilRegisterNumFaces (ILuint Num) |
| Preallocates cubemap faces for the currently bound image.
|
|
ILboolean ILAPIENTRY | ilRegisterNumImages (ILuint Num) |
| Preallocates following animation frames for currently bound image.
|
|
void ILAPIENTRY | ilRegisterOrigin (ILenum Origin) |
| Sets the origin of the currently bound image (no conversion). More...
|
|
void ILAPIENTRY | ilRegisterPal (void *Pal, ILuint Size, ILenum Type) |
| Sets the palette data of the currently bound image.
|
|
ILboolean ILAPIENTRY | ilRegisterSave (ILconst_string Ext, IL_SAVEPROC Save) |
| Register a file saving function for a file extension.
|
|
void ILAPIENTRY | ilRegisterType (ILenum Type) |
| Sets the image pixel data type (no conversion). More...
|
|
ILboolean ILAPIENTRY | ilRemoveLoad (ILconst_string Ext) |
| Unregisters a load extension - doesn't have to be called.
|
|
ILboolean ILAPIENTRY | ilRemoveSave (ILconst_string Ext) |
| Unregisters a save extension - doesn't have to be called.
|
|
Registering and unregistering loaders/savers for user defined image types.
void ILAPIENTRY ilRegisterFormat |
( |
ILenum |
Format | ) |
|
Sets the pixel data format of the currently bound image (no conversion).
This is supposed to be called by any loaders registered by ilRegisterLoad.
- Parameters
-
Format | The format to use, valid values are:
- IL_COLOUR_INDEX
- IL_RGB
- IL_RGBA
- IL_BGR
- IL_BGRA
- IL_LUMINANCE
- IL_LUMINANCE_ALPHA
|
void ILAPIENTRY ilRegisterOrigin |
( |
ILenum |
Origin | ) |
|
Sets the origin of the currently bound image (no conversion).
- Parameters
-
Origin | The image of the image, valid values are:
- IL_ORIGIN_LOWER_LEFT
- IL_ORIGIN_UPPER_LEFT
|
void ILAPIENTRY ilRegisterType |
( |
ILenum |
Type | ) |
|
Sets the image pixel data type (no conversion).
- Parameters
-
Type | The data type to use, valid values are:
- IL_BYTE
- IL_UNSIGNED_BYTE
- IL_SHORT
- IL_UNSIGNED_SHORT
- IL_INT
- IL_UNSIGNED_INT
- IL_FLOAT
- IL_DOUBLE
|