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