/// <summary> /// Renders the scene in a specific viewport /// </summary> /// <param name="vp">Viewport in which to render the scene</param> public void Render(Viewport vp) { if (vp != _viewport) CurrentViewport = vp; _owner.RenderScene(vp, this); }
/// <summary> /// Draws the entire scene /// </summary> public void RenderScene(Viewport vp, Camera cam) { Clean(); UpdateGraph(); FindVisibleObjects(cam); _renderer.Render(vp, cam, _queue); }