Tao.DevIl SDK Documentation

Il.ilSetWrite Method 

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.

[Visual Basic]
Public Shared Sub ilSetWrite( _
   ByVal Open As fOpenWProc, _
   ByVal Close As fCloseWProc, _
   ByVal Putc As fPutcProc, _
   ByVal Seek As fSeekWProc, _
   ByVal Tell As fTellWProc, _
   ByVal Write As fWriteProc _
)
[C#]
public static void ilSetWrite(
   fOpenWProc Open,
   fCloseWProc Close,
   fPutcProc Putc,
   fSeekWProc Seek,
   fTellWProc 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

Il Class | Tao.DevIl Namespace