Add Material class, modify TestGame.

This commit is contained in:
2024-08-22 20:14:14 +02:00
parent 43430e73a2
commit a005caf54a
5 changed files with 54 additions and 15 deletions

View File

@@ -98,8 +98,8 @@ public class TestGame : Game
// _scene.BeginDraw();
// _scene.EndDraw();
_renderer.BeginFrame();
_renderer.ClearBackground(Color.Red);
_renderer.ClearBackground(Color.Blue);
// _renderer.ClearBackground(Color.Aqua);
// // _renderer.DrawRectangle(new Vector2(128, 128), Color.Black);
_renderer.EndFrame();
}
}