Started declaring graphics resources
This commit is contained in:
@@ -2,17 +2,18 @@
|
||||
#include "RenderPath.h"
|
||||
namespace Seele
|
||||
{
|
||||
class Graphics;
|
||||
// A view is a part of the window, which can be anything from a viewport to an editor
|
||||
class View
|
||||
{
|
||||
public:
|
||||
View();
|
||||
View(Graphics* graphics);
|
||||
virtual ~View();
|
||||
virtual void initRenderer() = 0;
|
||||
void beginFrame();
|
||||
void endFrame();
|
||||
void applyArea(Rect area);
|
||||
protected:
|
||||
Graphics* graphics;
|
||||
PRenderPath renderer;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user