/// <summary> /// /// </summary> /// <param name="gameTime"></param> /// <param name="stereoEye"></param> internal void Draw(GameTime gameTime, StereoEye stereoEye) { Counters.Reset(); var targetColorSurface = Device.Display.BackbufferColor.Surface; var targetDepthSurface = Device.Display.BackbufferDepth.Surface; // render world : RenderWorld.Render(gameTime, stereoEye, targetColorSurface); // draw sprites : SpriteEngine.DrawSprites(gameTime, stereoEye, targetColorSurface, SpriteLayers); if (ShowCounters) { Counters.PrintCounters(); } }