forked from Dynamitos/Seele
Implemented basic containers and ref pointers
This commit is contained in:
1 parent
4c491a9378
commit
a14237d6ce
31 files changed
+1212
-36
No files matched your search
@@ -1,6 +1,28 @@
|
||||
class Graphics
|
||||
{
|
||||
public:
|
||||
Graphics();
|
||||
~Graphics();
|
||||
};
|
||||
#pragma once
|
||||
#include "MinimalEngine.h"
|
||||
#include "GraphicsResources.h"
|
||||
|
||||
namespace Seele {
|
||||
class Window;
|
||||
class Graphics
|
||||
{
|
||||
public:
|
||||
static Graphics& getInstance()
|
||||
{
|
||||
static Graphics instance;
|
||||
|
||||
return instance;
|
||||
}
|
||||
void init(GraphicsInitializer initializer);
|
||||
void beginFrame();
|
||||
void endFrame();
|
||||
|
||||
//Singleton
|
||||
private:
|
||||
Graphics();
|
||||
Graphics(Graphics const&) = delete;
|
||||
void operator=(Graphics const&) = delete;
|
||||
~Graphics();
|
||||
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user