Files
oak-editor/effects/video/inverteffect.h
T
2018-08-24 13:31:32 +10:00

22 lines
414 B
C++

#ifndef INVERTEFFECT_H
#define INVERTEFFECT_H
#include "../effect.h"
//#include <QOpenGLShader>
class InvertEffect : public Effect {
Q_OBJECT
public:
InvertEffect(Clip* c);
void process_gl(double timecode, GLTextureCoords& coords);
void clean_gl();
private:
EffectField* amount_val;
QOpenGLShader frag;
QOpenGLShader vert;
QOpenGLShaderProgram program;
};
#endif // INVERTEFFECT_H