示例#1
0
文件: App.cs 项目: ousttrue/RectUI
        public virtual void Dispose()
        {
            foreach (var kv in m_windowStateMap)
            {
                kv.Value.Dispose();
            }
            m_windowStateMap.Clear();

            if (m_renderThread != null)
            {
                m_renderThread.Dispose();
                m_renderThread = null;
            }
        }
示例#2
0
文件: App.cs 项目: ousttrue/RectUI
 public App()
 {
     m_renderThread = new RenderThread();
 }