demotool/combine.hh
2017-10-04 18:06:39 +02:00

28 lines
458 B
C++

#pragma once
#include "rendertarget.hh"
#include "shaders.hh"
struct T_CombinePass
{
T_CombinePass( ) = delete;
T_CombinePass( T_CombinePass const& ) = delete;
T_CombinePass( T_CombinePass&& ) = delete;
T_CombinePass( __rw__ T_Texture& image ,
__rw__ T_Texture& bloom );
void render( );
void makeUI( );
private:
T_Texture& txImage_;
T_Texture& txBloom_;
T_ShaderPipeline program_;
float bloomStrength_;
float bloomAttenuation_;
};