Lugdunum
0.1.0
include
lug
Graphics
Render
Window.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include <
lug/Graphics/Export.hpp
>
5
#include <
lug/Graphics/Render/Target.hpp
>
6
#include <
lug/Graphics/Render/View.hpp
>
7
#include <
lug/Window/Window.hpp
>
8
#include <
lug/System/Time.hpp
>
9
10
namespace
lug
{
11
namespace
Graphics {
12
namespace
Render {
13
14
class
LUG_GRAPHICS_API
Window
:
public
::lug::Window::Window
,
public
::lug::Graphics::Render::Target
{
15
public
:
16
struct
InitInfo
{
17
lug::Window::Window::InitInfo
windowInitInfo
;
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
lug::Graphics::Render::Window::InitInfo
Definition:
Window.hpp:16
View.hpp
lug::Window::Window::InitInfo
Definition:
Window.hpp:61
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Render::Window::InitInfo::windowInitInfo
lug::Window::Window::InitInfo windowInitInfo
Definition:
Window.hpp:17
lug::Window::Window
Class for window.
Definition:
Window.hpp:59
Time.hpp
lug::Graphics::Render::Target
Definition:
Target.hpp:10
Window.hpp
lug::Graphics::Render::Window::InitInfo::renderViewsInitInfo
std::vector< View::InitInfo > renderViewsInitInfo
Definition:
Window.hpp:18
lug::Graphics::Render::Window
Definition:
Window.hpp:14
lug::System::Time
Definition:
Time.hpp:9
lug
Definition:
Application.hpp:11
Export.hpp
Target.hpp
Generated by
1.8.13