*
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef CG_H__
|
||||
#define CG_H__
|
||||
|
||||
#include "render/IRenderer.h"
|
||||
#include "Singleton.h"
|
||||
|
||||
namespace LifeGraphics
|
||||
{
|
||||
class CG;
|
||||
|
||||
class CG : public Singleton<CG>
|
||||
{
|
||||
private:
|
||||
IRenderer* g_Renderer;
|
||||
public:
|
||||
CG();
|
||||
~CG();
|
||||
void initialize();
|
||||
void SetRenderer(IRenderer* renderer);
|
||||
IRenderer* GetRenderer();
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user