Lugdunum
0.1.0
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