bool empty() const { return !count; }
const unsigned char *begin() const { return outputs; }
const unsigned char *end() const { return outputs+count; }
- int index(RenderOutput);
+ int index(RenderOutput) const;
};
inline RenderTargetFormat operator,(RenderOutput o1, RenderOutput o2)
const RenderTargetFormat &get_format() const { return format; }
Framebuffer &get_framebuffer() { return fbo; }
- const Texture2D &get_target_texture(unsigned);
- const Texture2D &get_target_texture(RenderOutput);
+ void set_texture_filter(TextureFilter);
+ const Texture2D &get_target_texture(unsigned) const;
+ const Texture2D &get_target_texture(RenderOutput) const;
void blit_from(const RenderTarget &);
};