#include <ofxMemory.h>
Use this suite for ordinary memory management functions, where you would normally use malloc/free or new/delete on ordinary objects.
For images, you should use the memory allocation functions in the image effect suite, as many hosts have specific image memory pools.
Public Attributes | |
OfxStatus(* | memoryAlloc )(void *handle, size_t nBytes, void **allocatedData) |
Allocate memory. | |
OfxStatus(* | memoryFree )(void *allocatedData) |
Frees memory. |
OfxStatus(* OfxMemorySuiteV1::memoryAlloc)(void *handle, size_t nBytes, void **allocatedData) |
Allocate memory.
OfxStatus(* OfxMemorySuiteV1::memoryFree)(void *allocatedData) |
Frees memory.