I've read here as well in other places that attaching/detaching textures and render buffers from a frame buffer object is much faster than switching between fbo's.
I generally only ever render to one or two texture(s) at a time so I have to create several fbo's with a single texture and maybe a depth render buffer attached to it. Wouldn't it be much faster then if I just reused the same fbo and reattached my textures and render buffers or would I run into any problems? For example, is it ok to attach several 1024x1024 RGBA render targets to a FBO, detach them later and bind a bunch of 512x512 RGB render targets to the same FBO?
Thank you!



