public void Run(Viewport viewport) { Add(viewport); Run(); }
public void Add(Viewport renderer) { _views.Add(renderer.RenderTarget, renderer); renderer.RenderTarget.TargetClosing += OnRenderTargetClosing; renderer.RenderTarget.TargetClosed += OnRenderTargetClosed; renderer.CreateBrowser(); }