Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
OpenGLWindow.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #ifdef USING_OPENGL
5 #define GLEW_STATIC
6 #include <ThirdParty/glew-2.1.0/include/GL/glew.h>
8 
9 namespace Engine
10 {
14  class ENGINE_API OpenGLWindow : public Window
15  {
16  friend class Engine;
17 
18  OpenGLWindow() = delete;
19  OpenGLWindow(int width, int height, const char* title) noexcept;
20  OpenGLWindow(OpenGLWindow const &other) = default;
21  OpenGLWindow(OpenGLWindow &&other) noexcept = default;
22  public :
23  ~OpenGLWindow() noexcept override;
24  private:
25  eastl::shared_ptr<Window> windowReference;
26  };
27 } //namespace Engine
28 #endif
#define ENGINE_API
Definition: api.hpp:25