/// <summary> /// Raises the web cam texture to mat helper disposed event. /// </summary> public void OnWebCamTextureToMatHelperDisposed() { Debug.Log("OnWebCamTextureToMatHelperDisposed"); lock (ExecuteOnMainThread) { ExecuteOnMainThread.Clear(); } comicFilter.Dispose(); }
/// <summary> /// Raises the web cam texture to mat helper disposed event. /// </summary> public void OnWebCamTextureToMatHelperDisposed() { Debug.Log("OnWebCamTextureToMatHelperDisposed"); lock (ExecuteOnMainThread) { ExecuteOnMainThread.Clear(); } comicFilter.Dispose(); if (debugStr != null) { debugStr.text = string.Empty; } DebugUtils.ClearDebugStr(); }