copy shaders from game to engine
This commit is contained in:
@@ -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() {}
|
||||
|
||||
@@ -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
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user