}
}
+void RenderTarget::set_texture_filter(TextureFilter filt)
+{
+ if(!samples)
+ {
+ for(vector<TargetBuffer>::iterator i=buffers.begin(); i!=buffers.end(); ++i)
+ i->texture->set_filter(filt);
+ }
+}
+
const Texture2D &RenderTarget::get_target_texture(unsigned i) const
{
if(i>=buffers.size())
const RenderTargetFormat &get_format() const { return format; }
Framebuffer &get_framebuffer() { return fbo; }
+ void set_texture_filter(TextureFilter);
const Texture2D &get_target_texture(unsigned) const;
const Texture2D &get_target_texture(RenderOutput) const;
void blit_from(const RenderTarget &);