Karma Engine
Loading...
Searching...
No Matches
OpenGLContext.h
1#pragma once
2
3#include "Karma/Renderer/GraphicsContext.h"
4
5struct GLFWwindow;
6
7namespace Karma
8{
10 {
11 public:
12 OpenGLContext(GLFWwindow* windowHandle);
13
14 virtual void Init() override;
15 virtual void SwapBuffers() override;
16 virtual bool OnWindowResize(WindowResizeEvent& event) override;
17
18 private:
19 GLFWwindow* m_windowHandle;
20 };
21}
Definition GraphicsContext.h:8
Definition OpenGLContext.h:10
Definition ApplicationEvent.h:10