private:
void update_attachment(unsigned) const;
void check_size();
+ unsigned get_attachment_index(FramebufferAttachment);
public:
void attach(FramebufferAttachment attch, Renderbuffer &rbuf);
void attach(FramebufferAttachment attch, Texture2D &tex, unsigned level = 0);
static void unbind();
static Framebuffer &system();
-private:
- unsigned get_attachment_index(FramebufferAttachment);
};
inline BufferBits operator|(BufferBits a, BufferBits b)