copy shaders from game to engine

This commit is contained in:
Dynamitos
2025-04-11 13:49:37 +02:00
parent 5a54530a48
commit 708ab36377
10 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
using namespace Seele;
GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::string dllPath)
GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::filesystem::path dllPath)
: View(graphics, window, createInfo, "Game"), graphics(graphics), scene(new Scene(graphics)), gameInterface(dllPath) {
reloadGame();
renderGraph.addPass(new CachedDepthPass(graphics, scene));
+1 -1
View File
@@ -12,7 +12,7 @@
namespace Seele {
class GameView : public View {
public:
GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::string dllPath);
GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::filesystem::path dllPath);
virtual ~GameView();
virtual void beginUpdate() override;
virtual void update() override;