DevIL Documentation Previous | IL | Next

 

ilRegisterSave

 

ilRegisterType tells OpenIL what datatype the current registered image uses. This function is to be used from within functions that have been registered via ilRegisterLoad.

 

ILboolean ilRegisterSave(
  char * Ext, IL_SAVEPROC Save );


Parameters

 
Ext
Extension of the image type to save
Save
Pointer to a saving function


Errors

 
IL_OUT_OF_MEMORY
Could not allocate enough memory for the image data.

See Also

 
ilRegisterLoad, ilRemoveLoad, ilRemoveSave,