demotool/fxaa.hh
2017-10-05 18:35:35 +02:00

22 lines
359 B
C++

#pragma once
#include "rendertarget.hh"
#include "shaders.hh"
struct T_FXAAPass
{
T_FXAAPass( ) = delete;
T_FXAAPass( T_FXAAPass const& ) = delete;
T_FXAAPass( T_FXAAPass&& ) = delete;
T_FXAAPass( __rw__ T_Texture& input );
void render( );
void makeUI( );
private:
T_Texture& txInput_;
T_ShaderPipeline program_;
float parameters_[ 3 ];
};