blob: 31156485c4bf328050a7665637b016db8d813b72 (
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
27
28
29
|
#ifndef LLMR_SHADER_COMPOSITE_SHADER
#define LLMR_SHADER_COMPOSITE_SHADER
#include <llmr/shader/shader.hpp>
namespace llmr {
class CompositeShader : public Shader {
public:
CompositeShader();
void bind(char *offset);
void setImage(int32_t image);
void setOpacity(float opacity);
private:
int32_t a_pos = -1;
int32_t image = 0;
int32_t u_image = -1;
float opacity = 0;
int32_t u_opacity = -1;
};
}
#endif
|