forked from Dynamitos/Seele
Started declaring graphics resources
This commit is contained in:
1 parent
328edf5196
commit
df3ed3c49e
8 files changed
+150
-14
No files matched your search
@@ -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