Пример #1
0
        public void RenderLayer(ScreenLayer layer)
        {
            layer.Draw();

            surfaces.ViewMatrix.Matrix       = layer.ViewMatrix;
            surfaces.ProjectionMatrix.Matrix = layer.ProjectionMatrix;

            surfaces.ConsoleBackground.Render();
            surfaces.ConsoleFontSurface.Render();
        }
Пример #2
0
        public void RenderLayer(ScreenLayer layer)
        {
            layer.Draw();

            _surfaces.ViewMatrix.Matrix       = layer.ViewMatrix;
            _surfaces.ProjectionMatrix.Matrix = layer.ProjectionMatrix;

            _surfaces.FreshmanFontSurface.Render();
            _surfaces.ConsolasFontSurface.Render();
            _surfaces.SpriteSurface.Render();
            _surfaces.PhotonSurface.Render();
        }
Пример #3
0
 private void prepareForRendering(ScreenLayer layer)
 {
     layer.Draw();
     setMatricesFrom(layer);
 }