Refactoring the render engine to feel a little better organized. One major issue remains with the model not rendering at the time. Possibly this is solved after fixing the outline render pass
This commit is contained in:
2023-02-03 16:33:02 +01:00
parent 4355a12b9a
commit 85263312cd
37 changed files with 405 additions and 8295 deletions

12
src/Primitives/texture.h Normal file
View File

@ -0,0 +1,12 @@
#pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <string>
struct Texture{
GLuint id;
std::string type;
std::string path;
};
Texture* CreateTexture(unsigned int width, unsigned int height);