Exemple #1
0
        /// <summary>
        /// This is called when the game should draw itself.
        /// </summary>
        /// <param name="gameTime">Provides a snapshot of timing values.</param>
        protected virtual void Render(GameTime gameTime)
        {
            _renderer.Operate();

            GraphicsDevice.SwapBuffers();
            GraphicsDevice.WaitForIdle();
        }