diff options
Diffstat (limited to 'gui/src/ofxGpuLutBlend.h')
| -rw-r--r-- | gui/src/ofxGpuLutBlend.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gui/src/ofxGpuLutBlend.h b/gui/src/ofxGpuLutBlend.h new file mode 100644 index 0000000..d2f7d33 --- /dev/null +++ b/gui/src/ofxGpuLutBlend.h @@ -0,0 +1,26 @@ +#pragma once + +#include "ofMain.h" + +#define STRINGIFY(e) #e + +class ofxGpuLutBlend{ + +private: + ofShader lutShader; + ofTexture lut; + string vertexShader; + string fragmentShader; + ofImage lutImage; + float blendAmt; +public: + ofxGpuLutBlend(); + ~ofxGpuLutBlend(); + + void load(ofTexture lutTexture); + void load(ofImage lutImage); + void load(string path); + void setBlend(float amt); + void begin(); + void end(); +};
\ No newline at end of file |
