Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
DeferredForwardPass.hpp
1 // Copyright (C) 2017 Jérôme Leclercq
2 // This file is part of the "Nazara Engine - Graphics module"
3 // For conditions of distribution and use, see copyright notice in Config.hpp
4 
5 #pragma once
6 
7 #ifndef NAZARA_DEFERREDFORWARDPASS_HPP
8 #define NAZARA_DEFERREDFORWARDPASS_HPP
9 
10 #include <Nazara/Prerequesites.hpp>
11 #include <Nazara/Graphics/DeferredRenderPass.hpp>
12 
13 namespace Nz
14 {
15  class ForwardRenderTechnique;
16 
17  class NAZARA_GRAPHICS_API DeferredForwardPass : public DeferredRenderPass
18  {
19  public:
21  virtual ~DeferredForwardPass();
22 
23  void Initialize(DeferredRenderTechnique* technique) override;
24  bool Process(const SceneData& sceneData, unsigned int workTexture, unsigned int sceneTexture) const override;
25 
26  protected:
27  const ForwardRenderTechnique* m_forwardTechnique;
28  };
29 }
30 
31 #endif // NAZARA_DEFERREDFORWARDPASS_HPP
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the pass for rendering in deferred rendering.
Definition: DeferredRenderPass.hpp:22
Graphics class that represents the technique used in deferred rendering.
Definition: DeferredRenderTechnique.hpp:24
Graphics class that represents the technique used in forward rendering.
Definition: ForwardRenderTechnique.hpp:21
Graphics class that represents the forward pass in deferred rendering.
Definition: DeferredForwardPass.hpp:17