OfxImageEffectSuiteV1::imageMemoryAlloc
— Allocate memory from the host's image memory pool
#include "ofxImageEffect.h"
OfxStatus(*imageMemoryAlloc)( | OfxImageEffectHandleinstanceHandle, |
size_tnBytes, | |
OfxImageMemoryHandle *memoryHandle) ; |
Memory handles allocated by this should be freed by OfxImageEffectSuiteV1::imageMemoryFree
.
To access the memory behind the handle you need to call OfxImageEffectSuiteV1::imageMemoryLock
.