Implementing basic scene tree

This commit is contained in:
Dynamitos
2020-04-15 02:04:42 +02:00
parent 576747c369
commit 3ef8342247
34 changed files with 722 additions and 54 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#include "GraphicsResources.h"
#include "View.h"
namespace Seele
{
// The logical window, with the graphics proxy
class Window
{
public:
Window(Gfx::PWindow handle);
~Window();
void addView(PView view);
void beginFrame();
void render();
void endFrame();
Gfx::PWindow getGfxHandle();
private:
Array<PView> viewports;
Gfx::PWindow gfxHandle;
};
DEFINE_REF(Window);
}