|
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.
| ILvoid ilSetWrite( fOpenWProc Open, fCloseWProc Close, fPutcProc Putc, fSeekWProc Seek, fTellRProc Tell, fWriteProc Write );
|
Parameters | - Open
- Pointer to a function to open a file.
- Close
- Pointer to a function to close a file.
- Putc
- Pointer to a function to write one byte to a file.
- Seek
- Pointer to a function to change position in a file.
- Tell
- Pointer to a function to report the position in a file.
- Write
- Pointer to a function to write multiple bytes to a file.
|
See Also
|