DevIL Documentation | Home | Previous | Next |
The ilRegisterPal function registers the current image's palette.
ILvoid ilRegisterPal(
ILvoid *Pal,
ILuint Size,
ILenum Type
);
ilRegisterPal tells OpenIL what kind of palette the current registered image has and gives it the actual palette to use. This function is to be used from within functions that have been registered via ilRegisterLoad.
None
ilRegisterLoad, ilRegisterFormat, ilRegisterOrigin, ilRegisterType