- void set_texture(Tag, const Texture *, const Sampler * = 0);
-private:
- void set_texture(Tag, int, const Texture *, const Sampler *);
- void flush_textures();
-public:
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
- DEPRECATED void set_texture(const Texture *, const Sampler * = 0);
- DEPRECATED void set_texturing(const Texturing *);
- DEPRECATED unsigned allocate_effect_texunit();
-#pragma GCC diagnostic pop
- void set_material(const Material *);
-
- void set_lighting(const Lighting *);
- void set_clipping(const Clipping *);
-
- /** Sets the shader program to use. An initial set of data can be set as
- well, with the same semantics as add_shader_data. */
+ const Framebuffer *get_framebuffer() const { return get_state().framebuffer; }
+
+ /** Sets the shader program to use. As a convenience, uniform values may be
+ specified at the same time. */