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