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
+3 -5
View File
@@ -6,17 +6,15 @@ namespace Seele
class RenderPath
{
public:
RenderPath(Gfx::PGraphics graphics);
RenderPath(Gfx::PGraphics graphics, Gfx::PViewport target);
virtual ~RenderPath();
virtual void applyArea(Rect area) = 0;
virtual void init() = 0;
virtual void applyArea(Rect area);
virtual void beginFrame() = 0;
virtual void render() = 0;
virtual void endFrame() = 0;
protected:
Gfx::PGraphics graphics;
Rect area;
Gfx::PViewport target;
};
DEFINE_REF(RenderPath);
} // namespace Seele