forked from Dynamitos/Seele
Starting implementation of UI framework
This commit is contained in:
1 parent
65caae9e21
commit
fb3c66cc4c
57 files changed
+381
-186
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "Graphics/Graphics.h"
|
||||
namespace Seele
|
||||
{
|
||||
//A renderpath is a general Renderer for a view.
|
||||
class RenderPath
|
||||
{
|
||||
public:
|
||||
RenderPath(Gfx::PGraphics graphics, Gfx::PViewport target);
|
||||
virtual ~RenderPath();
|
||||
virtual void applyArea(URect area);
|
||||
virtual void init() = 0;
|
||||
virtual void beginFrame() = 0;
|
||||
virtual void render() = 0;
|
||||
virtual void endFrame() = 0;
|
||||
|
||||
protected:
|
||||
Gfx::PGraphics graphics;
|
||||
Gfx::PViewport target;
|
||||
};
|
||||
DEFINE_REF(RenderPath);
|
||||
} // namespace Seele
|
||||
Reference in new issue
Block a user