protected override void Draw(GameTime gameTime) { _graphicsManager.BeginDraw(); _eventsManager.Draw(); _graphicsManager.EndDraw(); base.Draw(gameTime); }
public void Render() { if (GameMessage != null) { GameMessage.Text = String.Format("FPS: {0}", _currentFrameCnt); } // Backbuffer rendering lock (_gfxLock) { _gm.BeginDraw(); _gm.Clear(); SceneManager.Render(_gm); _gm.EndDraw(); _gm.Render(); } //Invalidate(); }