Name

OfxImageEffectOpenGLRenderSuiteV1::clipFreeTexture — Releases the texture handle previously returned by

Synopsis

#include "ofxOpenGLRender.h" 
OfxStatus(*clipFreeTexture)(OfxPropertySetHandle textureHandle);
 

Arguments

  • textureHandle -

Description

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

  • textureHandle was returned by clipGetImage

\post

  • all operations on textureHandle will be invalid, and the OpenGL texture

it referred to has been deleted (for source clips)

Returns

  • kOfxStatOK - the image was successfully fetched and returned in the

handle,