void OnDestroy()
        {
            m_Session.SetCapturePixelData(false, IntPtr.Zero, IntPtr.Zero);

            m_pinnedYArray.Free();
            m_pinnedUVArray.Free();
        }