|
Monad Engine da02fba2
> Undercity Codex_
|
Thin wrapper around raw OpenGL 3.3 Core Profile calls. More...
#include <memory>#include <string>#include <vector>#include "GL/glew.h"
Include dependency graph for GraphicsAPI.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | mnd::GraphicsAPI |
| OpenGL 3.3 Core Profile abstraction layer. More... | |
Namespaces | |
| namespace | mnd |
Thin wrapper around raw OpenGL 3.3 Core Profile calls.
GraphicsAPI sits between the application and GLEW/GL. It creates and manages GPU resources (VBOs, IBOs, shader programs) and issues draw calls. All other engine code — particularly RenderQueue — goes through this class rather than calling gl* functions directly, making the rendering layer easy to swap out or extend without touching game code.
Owned by the Engine singleton; access via Engine::GetInstance().GetGraphicsAPI().
Definition in file GraphicsAPI.h.