Lugdunum
0.1.0
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
Enumerations
+
Related Functions
:
b
c
d
g
l
p
s
w
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
+
Macros
d
f
l
n
s
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
lug
Graphics
Render
Target.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/Graphics/Export.hpp
>
4
#include <
lug/Graphics/Render/View.hpp
>
5
6
namespace
lug
{
7
namespace
Graphics {
8
namespace
Render {
9
10
class
LUG_GRAPHICS_API
Target
{
11
public
:
12
Target
() =
default
;
13
14
Target
(
const
Target
&) =
delete
;
15
Target
(
Target
&&) =
delete
;
16
17
Target
& operator=(
const
Target
&) =
delete
;
18
Target
& operator=(
Target
&&) =
delete
;
19
20
virtual
~
Target
() =
default
;
21
22
virtual
View
* createView(
View::InitInfo
& initInfo) = 0;
23
24
virtual
bool
render() = 0;
25
26
virtual
uint16_t getWidth()
const
= 0;
27
virtual
uint16_t getHeight()
const
= 0;
28
29
const
std::vector<std::unique_ptr<View>>& getRenderViews()
const
;
30
std::vector<std::unique_ptr<View>>& getRenderViews();
31
32
protected
:
33
std::vector<std::unique_ptr<View>>
_renderViews
;
34
};
35
36
#include <
lug/Graphics/Render/Target.inl
>
37
38
}
// Render
39
}
// Graphics
40
}
// lug
View.hpp
lug::Graphics::Render::View::InitInfo
Definition:
View.hpp:52
Target.inl
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Render::Target
Definition:
Target.hpp:10
lug::Graphics::Render::View
Definition:
View.hpp:18
lug
Definition:
Application.hpp:11
lug::Graphics::Render::Target::_renderViews
std::vector< std::unique_ptr< View > > _renderViews
Definition:
Target.hpp:33
Export.hpp
Generated by
1.8.13