]> git.sesse.net Git - movit/blob - sandbox_effect.h
Fix a (harmless) Valgrind hit.
[movit] / sandbox_effect.h
1 #ifndef _SANDBOX_EFFECT_H
2 #define _SANDBOX_EFFECT_H 1
3
4 // This effect, by default, does nothing.
5 //
6 // But imagine all the cool things you can make it do! Thus, the SandboxEffect
7 // is intended to be a sandbox for you to have a place to write your test or
8 // throwaway code. When you're happy, you can do a bit of search and replace
9 // to give it a proper name and its own place in the build system.
10
11 #include "effect.h"
12
13 class SandboxEffect : public Effect {
14 public:
15         SandboxEffect();
16         std::string output_fragment_shader();
17
18         void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num);
19
20 private:
21         float parm;
22 };
23
24 #endif // !defined(_SANDBOX_EFFECT_H)