Lugdunum  0.1.0
Window.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
7 #include <lug/Window/Window.hpp>
8 #include <lug/System/Time.hpp>
9 
10 namespace lug {
11 namespace Graphics {
12 namespace Render {
13 
15 public:
16  struct InitInfo {
18  std::vector<View::InitInfo> renderViewsInitInfo;
19  };
20 
21 public:
22  Window() = default;
23 
24  Window(const Window&) = delete;
25  Window(Window&&) = delete;
26 
27  Window& operator=(const Window&) = delete;
28  Window& operator=(Window&&) = delete;
29 
30  virtual ~Window() = default;
31 
32  virtual bool beginFrame(const lug::System::Time& elapsedTime) = 0;
33  virtual bool endFrame() = 0;
34 };
35 
36 } // Render
37 } // Graphics
38 } // lug
#define LUG_GRAPHICS_API
Definition: Export.hpp:11
lug::Window::Window::InitInfo windowInitInfo
Definition: Window.hpp:17
Class for window.
Definition: Window.hpp:59
std::vector< View::InitInfo > renderViewsInitInfo
Definition: Window.hpp:18