Memory
The SpeedTree SDK features an allocation interface where all heap allocations made by the SDK libraries are funneled through a single interface. Setting up the memory allocator is done in this way:
A memory allocator interface was added, one where every heap allocation made by SpeedTreeRT and its associated classes are funneled through a single interface. Setting up the memory allocator is done in this way:
All heap allocations made by any of the classes in the SpeedTree SDK are passed through the interface. The reference application also shows how to continue to do this for example SpeedTree-related objects.