Initialize WebGPU render pass, Implement ClearBackground in StandardRenderer

This commit is contained in:
2024-08-18 20:46:32 +02:00
parent b40af1200a
commit 43430e73a2
2 changed files with 65 additions and 12 deletions

View File

@@ -98,7 +98,8 @@ public class TestGame : Game
// _scene.BeginDraw();
// _scene.EndDraw();
_renderer.BeginFrame();
// _renderer.ClearBackground(Color.White);
_renderer.ClearBackground(Color.Red);
_renderer.ClearBackground(Color.Blue);
_renderer.EndFrame();
}
}