blob: d2f7d3327a286016daee450a04658b111e68aa93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();
};
|