7 #ifndef NAZARA_DEFERREDGEOMETRYPASS_HPP 8 #define NAZARA_DEFERREDGEOMETRYPASS_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Graphics/DeferredRenderPass.hpp> 12 #include <Nazara/Renderer/RenderStates.hpp> 13 #include <Nazara/Renderer/Shader.hpp> 14 #include <unordered_map> 24 bool Process(
const SceneData& sceneData,
unsigned int firstWorkTexture,
unsigned int secondWorkTexture)
const override;
25 bool Resize(
const Vector2ui& dimensions)
override;
28 struct ShaderUniforms;
30 const ShaderUniforms* GetShaderUniforms(
const Shader* shader)
const;
31 void OnShaderInvalidated(
const Shader* shader)
const;
35 NazaraSlot(Shader, OnShaderUniformInvalidated, shaderUniformInvalidatedSlot);
36 NazaraSlot(Shader, OnShaderRelease, shaderReleaseSlot);
43 mutable std::unordered_map<const Shader*, ShaderUniforms> m_shaderUniforms;
44 RenderStates m_clearStates;
49 #endif // NAZARA_DEFERREDGEOMETRYPASS_HPP Graphics class that represents the pass for geometries in deferred rendering.
Definition: DeferredGeometryPass.hpp:18
TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the pass for rendering in deferred rendering.
Definition: DeferredRenderPass.hpp:22