A3DDllSetCallbacksMemory

A3DStatus A3DDllSetCallbacksMemory(A3DCallbackMemoryAlloc, A3DCallbackMemoryFree)

Specifies custom memory-allocation functions This function specifies callback functions the library uses for memory allocation and and deallocation.

If this function is not called, the standard mallocand freefunctions are used for memory allocation and deallocation.

2.0

Sample code

Returns

A3D_SUCCESSon success, or an error code on failure