Basic graphics structure
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user