7 #ifndef NAZARA_DEFERREDRENDERPASS_HPP 8 #define NAZARA_DEFERREDRENDERPASS_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Graphics/Config.hpp> 12 #include <Nazara/Math/Vector2.hpp> 16 class DeferredRenderTechnique;
17 class DeferredRenderQueue;
31 void Enable(
bool enable);
33 virtual void Initialize(DeferredRenderTechnique* technique);
35 bool IsEnabled()
const;
37 virtual bool Process(
const SceneData& sceneData,
unsigned int workTexture,
unsigned int sceneTexture)
const = 0;
38 virtual bool Resize(
const Vector2ui& GBufferSize);
44 DeferredRenderTechnique* m_deferredTechnique;
46 RenderTexture* m_GBufferRTT;
47 RenderTexture* m_workRTT;
48 Texture* m_depthStencilTexture;
49 Texture* m_GBuffer[4];
50 Texture* m_workTextures[2];
57 #endif // NAZARA_DEFERREDRENDERPASS_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 rendering queue for deferred rendering.
Definition: DeferredRenderQueue.hpp:22