void update() const;
void check_size();
void set_attachment(FrameAttachment, Texture &, unsigned, int, unsigned);
void update() const;
void check_size();
void set_attachment(FrameAttachment, Texture &, unsigned, int, unsigned);
void attach_layered(FrameAttachment attch, TextureCube &, unsigned level = 0);
void detach(FrameAttachment attch);
void attach_layered(FrameAttachment attch, TextureCube &, unsigned level = 0);
void detach(FrameAttachment attch);
/** Ensures that the framebuffer is complete, throwing an exception if it
isn't. */
void require_complete() const;
/** Ensures that the framebuffer is complete, throwing an exception if it
isn't. */
void require_complete() const;