destroy

open fun destroy()(source)

Releases resources associated with this filter, including those allocated for the shader. This method should be called when the filter is no longer needed to ensure proper cleanup and avoid resource leaks.