- Input(ImageFormat format, unsigned width, unsigned height);
-
- unsigned num_inputs() const { return 0; }
-
- // Create the texture itself. We cannot do this in the constructor,
- // because we don't necessarily know all the settings (sRGB texture,
- // mipmap generation) at that point.
- void finalize();
-
- std::string output_fragment_shader();
-
- // Uploads the texture if it has changed since last time.
- void set_gl_state(GLuint glsl_program_num, const std::string& prefix, unsigned *sampler_num);