OfxImageEffectOpenGLRenderSuiteV1::clipFreeTexture
— Releases the texture handle previously returned by
#include "ofxOpenGLRender.h"
OfxStatus
(*clipFreeTexture)
(
|
OfxPropertySetHandle
textureHandle
)
;
|
clipLoadTexture
For input clips, this also deletes the texture from OpenGL. This should also be called on the output clip; for the Output clip, it just releases the handle but does not delete the texture (since the host will need to read it).
\pre
\post
it referred to has been deleted (for source clips)
kOfxStatOK
- the image was successfully fetched and returned in the
handle,
kOfxStatFailed
- general failure for some reason,
kOfxStatErrBadHandle
- the image handle was invalid,