FBO and glTexImage2D

Hi all,

I have a question about the relation of Frame Buffer Object and texture linking with it.

After using the function glFramebufferTexture2D, we will link a FBO and a texture together.

Does it mean that if we use function glTexImage2D and put the final parameter zero, the pointer of context(color buffer etc…) will be used by this texture ?

So when I modify the color buffer(ex. clear the color buffer by red) will cause the variation of bind texture?

Thanks.