Added the possibility to attach renderbuffers and textures to framebuffers.