public void Dispose()
        {
            m_Output.SetTarget(null);
            m_Graph.Destroy();

            if (m_RigLayers != null)
            {
                for (int i = 0; i < m_RigLayers.Count; ++i)
                {
                    m_RigLayers[i].Reset();
                }
                m_RigLayers.Clear();
            }

            m_SyncSceneToStreamLayer?.Reset();
        }