mirror of
https://github.com/iritmaximus/galaxy-engine.git
synced 2026-10-12 19:13:41 +03:00
changed from bgfx to opengl, glfw and glad
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "gwindow.h"
|
||||
#include "logger.h"
|
||||
#include "vertex.h"
|
||||
|
||||
class GRenderer {
|
||||
public:
|
||||
@@ -16,19 +13,4 @@ public:
|
||||
private:
|
||||
Logger *logger;
|
||||
GWindow *window;
|
||||
|
||||
bgfx::ShaderHandle vsh;
|
||||
bgfx::ShaderHandle fsh;
|
||||
bgfx::ProgramHandle program;
|
||||
|
||||
bgfx::VertexBufferHandle vbh;
|
||||
bgfx::IndexBufferHandle ibh;
|
||||
std::vector<PosColVertex> *vertexes;
|
||||
std::vector<int> *tri_list;
|
||||
|
||||
bgfx::VertexLayout layout;
|
||||
|
||||
void bgfx_init();
|
||||
void shader_init();
|
||||
bgfx::ShaderHandle load_shader(const char *name);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user