|PathEngine home||previous: ||next: |
Internal allocations within PathEngine are all made through an allocation mechanism that allows allocations to be redirected to a custom allocator provided by the calling application.
This can be used for:
The 'MemoryBenchmark' example project shows a working example of this mechanism, with a custom allocator used in this case to record statistics about the amount of memory allocated.
Some example code for implementing PathEngine custom memory allocators can be found on the iAllocator API reference page.
|Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEngine||next: |