Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
GraphicsAPI.h File Reference

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
 

Detailed Description

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().

See also
RenderQueue, ShaderProgram, Mesh, Material

Definition in file GraphicsAPI.h.