Render() приватный Метод

Renders view
private Render ( GameTime gameTime, StereoEye stereoEye ) : void
gameTime Fusion.Engine.Common.GameTime
stereoEye StereoEye
Результат void
Пример #1
0
        /// <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();
            }
        }