internal void AddView(MyViewKey view) { Debug.Assert(!m_views.ContainsKey(view)); if (view.View == MyViewEnum.SrvView) { m_views[view] = new MySrvView(this, view.Fmt); } else if (view.View == MyViewEnum.UavView) { m_views[view] = new MyUavView(this, view.Fmt); } else if (view.View == MyViewEnum.RtvView) { m_views[view] = new MyRtvView(this, view.Fmt); } }
internal void AddView(MyViewKey view) { Debug.Assert(!m_views.ContainsKey(view)); if(view.View == MyViewEnum.SrvView) { m_views[view] = new MySrvView(this, view.Fmt); } else if(view.View == MyViewEnum.UavView) { m_views[view] = new MyUavView(this, view.Fmt); } else if(view.View == MyViewEnum.RtvView) { m_views[view] = new MyRtvView(this, view.Fmt); } }