OfxImageEffectSuiteV1::imageMemoryAlloc
— Allocate memory from the host's image memory pool
#include "ofxImageEffect.h"
OfxStatus
(*imageMemoryAlloc)
(
|
OfxImageEffectHandle instanceHandle , |
size_t nBytes , | |
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
.