DevIL Documentation | Home | Previous | Next |
The ilSetWrite function changes the writing file functions used by DevIL.
ILvoid ilSetWrite(
fOpenWProc Open,
fCloseWProc Close,
fPutcProc Putc,
fSeekWProc Seek,
fTellRProc Tell,
fWriteProc Write
);
ilSetWrite allows you to override the default DevIL saving functions with your own. You are virtually unlimited in how your functions work, as long as they have the same behaviour as DevIL's default saving functions. All the functions work on the ILHANDLE type, which is a just a void pointer.
None
ilSetRead, ilResetRead, ilResetWrite