Photon Editor Library 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
OpenglContext.h
Go to the documentation of this file.
1#pragma once
2
7
9
10namespace ph::editor::ghi
11{
12
13class OpenglContext final : public GraphicsContext
14{
15public:
16 OpenglContext(GLFWwindow* glfwWindow, bool hasDebugContext);
17 ~OpenglContext() override;
18
19 OpenglGHI& getGHI() override;
22
23private:
24 OpenglGHI m_ghi;
25 OpenglObjectManager m_objManager;
26 OpenglMemoryManager m_memManager;
27};
28
29}// end namespace ph::editor::ghi
Definition GraphicsContext.h:24
Definition OpenglContext.h:14
OpenglContext(GLFWwindow *glfwWindow, bool hasDebugContext)
Definition OpenglContext.cpp:6
OpenglObjectManager & getObjectManager() override
Definition OpenglContext.cpp:22
OpenglMemoryManager & getMemoryManager() override
Definition OpenglContext.cpp:27
OpenglGHI & getGHI() override
Definition OpenglContext.cpp:17
Definition OpenglGHI.h:18
Definition OpenglMemoryManager.h:11
Definition OpenglObjectManager.h:67
Definition PlatformDisplay.h:13