MobileRT  1.0
A multi platform C++ CPU progressive Ray Tracer.
NoShadows.hpp
Go to the documentation of this file.
1 #ifndef COMPONENTS_SHADERS_NOSHADOWS_HPP
2 #define COMPONENTS_SHADERS_NOSHADOWS_HPP
3 
4 #include "MobileRT/Shader.hpp"
5 
6 namespace Components {
7 
8  class NoShadows final : public ::MobileRT::Shader {
9  private:
10  bool shade(
11  ::glm::vec3 *rgb,
12  const ::MobileRT::Intersection &intersection) final;
13 
14  public:
15  explicit NoShadows() = delete;
16 
17  explicit NoShadows(
18  ::MobileRT::Scene scene,
19  ::std::int32_t samplesLight,
20  ::MobileRT::Shader::Accelerator accelerator);
21 
22  NoShadows(const NoShadows &noShadows) = delete;
23 
24  NoShadows(NoShadows &&noShadows) noexcept = delete;
25 
26  ~NoShadows() final = default;
27 
28  NoShadows &operator=(const NoShadows &noShadows) = delete;
29 
30  NoShadows &operator=(NoShadows &&noShadows) noexcept = delete;
31  };
32 }//namespace Components
33 
34 #endif //COMPONENTS_SHADERS_NOSHADOWS_HPP
Definition: Orthographic.hpp:6
Accelerator
Definition: Shader.hpp:20
Definition: Shader.hpp:18
Definition: Scene.hpp:20
NoShadows & operator=(const NoShadows &noShadows)=delete
Definition: NoShadows.hpp:8
~NoShadows() final=default
bool shade(::glm::vec3 *rgb, const ::MobileRT::Intersection &intersection) final
Definition: NoShadows.cpp:12