Basic graphics structure

This commit is contained in:
HOEGLER Stefan
2020-03-02 19:07:49 +01:00
parent a14237d6ce
commit 4c2535931e
16 changed files with 137 additions and 48 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include "Graphics.h"
namespace Seele
{
//A renderpath is a general Renderer for a view.
class RenderPath
{
public:
RenderPath(Graphics* graphics);
virtual ~RenderPath();
virtual void init() = 0;
virtual void beginFrame() = 0;
virtual void render() = 0;
virtual void endFrame() = 0;
protected:
Graphics* graphics;
};
DECLARE_REF(RenderPath);
}