.. _program_listing_file_Src_GraphicsEngineOpenGL_renderer_deferred_LightingPass.hpp: Program Listing for File LightingPass.hpp ========================================= |exhale_lsh| :ref:`Return to documentation for file ` (``Src/GraphicsEngineOpenGL/renderer/deferred/LightingPass.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #pragma once #include #include #include #include #include "LightingPassShaderProgram.hpp" #include "renderer/deferred/GBuffer.hpp" #include "scene/texture/Texture.hpp" // #include "Noise.hpp" #include "renderer/deferred/RenderPass.hpp" #include "scene/Quad.hpp" // #include "util/RandomNumbers.hpp" #include "scene/Scene.hpp" class LightingPass : public RenderPass { public: LightingPass(); void execute(glm::mat4 projection_matrix, std::shared_ptr, std::shared_ptr scene, std::shared_ptr gbuffer, float delta_time); void create_shader_program(); ~LightingPass(); private: glm::vec3 current_offset; void set_uniforms(glm::mat4 projection_matrix, std::shared_ptr main_camera, std::shared_ptr scene, std::shared_ptr gbuffer, float delta_time); std::shared_ptr shader_program; Quad quad; };