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
@@ -5,7 +5,7 @@
using namespace Seele;
using namespace Seele::Editor;
PlayView::PlayView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::string dllPath)
PlayView::PlayView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::filesystem::path dllPath)
: GameView(graphics, window, createInfo, dllPath) {}
PlayView::~PlayView() {}
+1 -1
View File
@@ -5,7 +5,7 @@ namespace Seele {
namespace Editor {
class PlayView : public GameView {
public:
PlayView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::string dllPath);
PlayView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::filesystem::path dllPath);
virtual ~PlayView();
virtual void beginUpdate() override;
virtual void update() override;
+1 -1
View File
@@ -71,7 +71,7 @@ int main() {
.offset = {0, 0},
},
};
OGameView sceneView = new Editor::PlayView(graphics, window, sceneViewInfo, binaryPath.generic_string());
OGameView sceneView = new Editor::PlayView(graphics, window, sceneViewInfo, binaryPath);
sceneView->setFocused();
// OInspectorView inspectorView = new Editor::InspectorView(graphics, window,
// ViewportCreateInfo{