Lugdunum
0.1.0
src
lug
Graphics
Builder
SkyBox.cpp
Go to the documentation of this file.
1
#include <
lug/Graphics/Builder/SkyBox.hpp
>
2
3
#include <
lug/Graphics/Renderer.hpp
>
4
5
namespace
lug
{
6
namespace
Graphics {
7
namespace
Builder {
8
9
SkyBox::SkyBox
(
Renderer
& renderer) : _renderer(renderer) {}
10
11
Resource::SharedPtr<Render::SkyBox>
SkyBox::build
() {
12
switch
(
_renderer
.
getType
()) {
13
case
Renderer::Type::Vulkan
:
14
return
lug::Graphics::Vulkan::Builder::SkyBox::build
(*
this
);
15
}
16
17
return
nullptr
;
18
}
19
20
}
// Builder
21
}
// Graphics
22
}
// lug
lug::Graphics::Builder::SkyBox::build
Resource::SharedPtr< Render::SkyBox > build()
Definition:
SkyBox.cpp:11
Renderer.hpp
lug::Graphics::Resource::SharedPtr
Dummy class for a shared pointer.
Definition:
Resource.hpp:66
lug::Graphics::Builder::SkyBox::SkyBox
SkyBox(Renderer &renderer)
Definition:
SkyBox.cpp:9
lug::Graphics::Builder::SkyBox::_renderer
Renderer & _renderer
Definition:
SkyBox.hpp:51
lug::Graphics::Vulkan::Builder::SkyBox::build
Resource::SharedPtr< lug::Graphics::Render::SkyBox > build(const ::lug::Graphics::Builder::SkyBox &builder)
Definition:
SkyBox.cpp:979
lug::Graphics::Renderer
Definition:
Renderer.hpp:18
SkyBox.hpp
lug
Definition:
Application.hpp:11
lug::Graphics::Renderer::getType
Type getType() const
Definition:
Renderer.inl:5
lug::Graphics::Renderer::Type::Vulkan
Generated by
1.8.13