mirror of
https://github.com/iritmaximus/galaxy-engine.git
synced 2026-10-12 19:13:41 +03:00
added imgui and config file to project
This commit is contained in:
+9
-2
@@ -1,20 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "gwindow.h"
|
||||
#include "gconfig.h"
|
||||
#include "gmenu.h"
|
||||
#include "gshader.h"
|
||||
#include "gwindow.h"
|
||||
#include "logger.h"
|
||||
|
||||
class GRenderer {
|
||||
public:
|
||||
GRenderer(GWindow *w, Logger *l);
|
||||
GRenderer(GWindow *w, Logger *l, GConfig *c);
|
||||
~GRenderer();
|
||||
void init();
|
||||
void update();
|
||||
|
||||
void init_imgui();
|
||||
void update_imgui();
|
||||
|
||||
private:
|
||||
Logger *logger;
|
||||
GConfig *config;
|
||||
GWindow *window;
|
||||
GShader *shader;
|
||||
GMenu *menu;
|
||||
|
||||
unsigned int VAO;
|
||||
unsigned int VBO;
|
||||
|
||||
Reference in New Issue
Block a user