Tao.DevIl SDK Documentation

Il.ilSetMemory Method 

ilSetMemory was created to let DevIL users override the default memory allocation and deallocation functions present in DevIL. This support can be useful if you are using your own optimized memory handler or anything similar.

[Visual Basic]
Public Shared Sub ilSetMemory( _
   ByVal AllocFunc As mAlloc, _
   ByVal FreeFunc As mFree _
)
[C#]
public static void ilSetMemory(
   mAlloc AllocFunc,
   mFree FreeFunc
);

Parameters

AllocFunc
Specifies a function to override DevIL's allocation function.
FreeFunc
Specifies a function to override DevIL's deallocation function.

See Also

Il Class | Tao.DevIl Namespace