public void RenderLayer(ScreenLayer layer) { layer.Draw(); surfaces.ViewMatrix.Matrix = layer.ViewMatrix; surfaces.ProjectionMatrix.Matrix = layer.ProjectionMatrix; surfaces.ConsoleBackground.Render(); surfaces.ConsoleFontSurface.Render(); }
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(); }
private void prepareForRendering(ScreenLayer layer) { layer.Draw(); setMatricesFrom(layer); }