Lugdunum  0.1.0
SkyBox.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <array>
4 #include <cstdint>
5 #include <string>
6 
11 
12 namespace lug {
13 namespace Graphics {
14 
15 class Renderer;
16 
17 namespace Builder {
18 
21 
22 public:
23  explicit SkyBox(Renderer& renderer);
24 
25  SkyBox(const SkyBox&) = delete;
26  SkyBox(SkyBox&&) = delete;
27 
28  SkyBox& operator=(const SkyBox&) = delete;
29  SkyBox& operator=(SkyBox&&) = delete;
30 
31  ~SkyBox() = default;
32 
37  void setName(const std::string& name);
38 
39  void setMagFilter(Render::Texture::Filter magFilter);
40  void setMinFilter(Render::Texture::Filter minFilter);
41  void setMipMapFilter(Render::Texture::Filter mipMapFilter);
42  void setWrapS(Render::Texture::WrappingMode wrapS);
43  void setWrapT(Render::Texture::WrappingMode wrapT);
44  void setWrapW(Render::Texture::WrappingMode wrapW);
45  void setBackgroundFilename(const std::string& filename);
46  void setEnvironnementFilename(const std::string& filename);
47 
49 
50 protected:
52 
53  std::string _name;
54 
58 
62 
63  std::string _backgroundFilename;
65 };
66 
68 
69 } // Builder
70 } // Graphics
71 } // lug
std::string _environnementFilename
Definition: SkyBox.hpp:64
#define LUG_GRAPHICS_API
Definition: Export.hpp:11
std::string _backgroundFilename
Definition: SkyBox.hpp:63
Resource::SharedPtr< lug::Graphics::Render::SkyBox > build(const ::lug::Graphics::Builder::SkyBox &builder)
Definition: SkyBox.cpp:979