1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
3 | #pragma once |
4 | |
5 | #include "BsGLPrerequisites.h" |
6 | #include "Managers/BsRenderWindowManager.h" |
7 | |
8 | namespace bs |
9 | { |
10 | /** @addtogroup GL |
11 | * @{ |
12 | */ |
13 | |
14 | /** Manager that handles window creation for OpenGL. */ |
15 | class GLRenderWindowManager : public RenderWindowManager |
16 | { |
17 | public: |
18 | GLRenderWindowManager(ct::GLRenderAPI* renderSystem); |
19 | |
20 | protected: |
21 | /** @copydoc RenderWindowManager::createImpl() */ |
22 | SPtr<RenderWindow> createImpl(RENDER_WINDOW_DESC& desc, UINT32 windowId, const SPtr<RenderWindow>& parentWindow) override; |
23 | |
24 | private: |
25 | ct::GLRenderAPI* mRenderSystem; |
26 | }; |
27 | |
28 | /** @} */ |
29 | } |