Lugdunum
0.1.0
include
lug
Graphics
Builder
Scene.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
#include <string>
5
6
#include <
lug/Graphics/Resource.hpp
>
7
#include <
lug/Graphics/Scene/Scene.hpp
>
8
9
namespace
lug
{
10
namespace
Graphics {
11
12
class
Renderer;
13
14
namespace
Builder {
15
16
class
LUG_GRAPHICS_API
Scene
{
17
18
public
:
19
explicit
Scene
(
Renderer
& renderer);
20
21
Scene
(
const
Scene
&) =
delete
;
22
Scene
(
Scene
&&) =
delete
;
23
24
Scene
& operator=(
const
Scene
&) =
delete
;
25
Scene
& operator=(
Scene
&&) =
delete
;
26
27
~
Scene
() =
default
;
28
33
void
setName(
const
std::string& name);
34
35
Resource::SharedPtr<lug::Graphics::Scene::Scene>
build
();
36
37
protected
:
38
Renderer
&
_renderer
;
39
40
std::string
_name
;
41
};
42
43
#include <
lug/Graphics/Builder/Scene.inl
>
44
45
}
// Builder
46
}
// Graphics
47
}
// lug
lug::Graphics::Builder::Scene::_renderer
Renderer & _renderer
Definition:
Scene.hpp:38
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
lug::Graphics::Resource::SharedPtr
Dummy class for a shared pointer.
Definition:
Resource.hpp:66
Resource.hpp
lug::Graphics::Vulkan::Builder::Material::build
Resource::SharedPtr< lug::Graphics::Render::Material > build(const ::lug::Graphics::Builder::Material &builder)
Definition:
Material.cpp:14
lug::Graphics::Renderer
Definition:
Renderer.hpp:18
lug
Definition:
Application.hpp:11
Scene.inl
Scene.hpp
lug::Graphics::Builder::Scene::_name
std::string _name
Definition:
Scene.hpp:40
lug::Graphics::Builder::Scene
Definition:
Scene.hpp:16
Generated by
1.8.13