X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=sandbox_effect.h;fp=sandbox_effect.h;h=391be6d78520121193fb81537e615aea7be6e7a7;hb=0b4a4101426130d2b7037cdb219d5c05b8d4c3d3;hp=0000000000000000000000000000000000000000;hpb=60cc8cf581ceaac4eb7e636e85f9e6161005701d;p=movit diff --git a/sandbox_effect.h b/sandbox_effect.h new file mode 100644 index 0000000..391be6d --- /dev/null +++ b/sandbox_effect.h @@ -0,0 +1,24 @@ +#ifndef _SANDBOX_EFFECT_H +#define _SANDBOX_EFFECT_H 1 + +// This effect, by default, does nothing. +// +// But imagine all the cool things you can make it do! Thus, the SandboxEffect +// is intended to be a sandbox for you to have a place to write your test or +// throwaway code. When you're happy, you can do a bit of search and replace +// to give it a proper name and its own place in the build system. + +#include "effect.h" + +class SandboxEffect : public Effect { +public: + SandboxEffect(); + std::string output_fragment_shader(); + + void set_uniforms(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); + +private: + float parm; +}; + +#endif // !defined(_SANDBOX_EFFECT_H)