Destroy a Video Effect Filter#
When a video effect filter is no longer required, destroy it to free resources and memory that were allocated for the filter.
To destroy a video effect filter, call the NvVFX_DestroyEffect() function, specifying the filter handle that was created as explained in Creating a Video Effect Filter:
NvVFX_DestroyEffect(effectHandle);
You can use the Video Effects SDK to enable an application to apply effect filters to videos. The Video Effects API is object-oriented but is accessible to C in addition to C++.