[Feat] (...): Add global OpenGL state. Add gl texture state (almost complete for Minecraft) and implementation gl texture functions that Minecraft would use. Add gl error state.

This commit is contained in:
BZLZHH
2025-04-04 23:02:59 +08:00
parent c291f513ca
commit 41fefb8e54
13 changed files with 1343 additions and 20 deletions
+7
View File
@@ -32,6 +32,12 @@
#ifndef MOBILEGL_GL_VERTEXARRAY_H
#include "MG_GL/GL/VertexArray/GL_VertexArray.h"
#endif
#ifndef MOBILEGL_GLSTATE_H
#include "MG_GL/State/Core/GLState.h"
#endif
#ifndef MOBILEGL_TEXTURESTATE_H
#include "MG_GL/State/Texture/TextureState.h"
#endif
#ifndef MOBILEGL_LOOKUP_H
#include "MG_GL/GLX/LookUp/LookUp.h"
#endif
@@ -64,6 +70,7 @@
#include <array>
#include <random>
#include <unordered_map>
#include <queue>
#include <vulkan/vulkan.h>
#include <glslang/Public/ShaderLang.h>
#include <glslang/Include/Types.h>