#pragma once #ifndef REAL_BUILD # define REAL_BUILD # include "externals.hh" # include "texture.hh" # include "rendertarget.hh" # include "utilities.hh" # include "programs.hh" # undef REAL_BUILD #endif struct T_CombinePass { T_CombinePass( ) = delete; T_CombinePass( T_CombinePass const& ) = delete; T_CombinePass( T_CombinePass&& ) = delete; T_CombinePass( __rw__ T_FilesWatcher& watcher , __rw__ T_Texture& image , __rw__ T_Texture& bloom ); void render( ); void makeUI( ); private: T_Texture& txImage_; T_Texture& txBloom_; T_ShaderProgram program_; float bloomStrength_; float bloomAttenuation_; };