glCopyImageSubData

Hello,

i have an FBO with color texture and depth buffer texture. My question is: is possible to copy the depth buffer texture into the main window depth buffer using glCopyImageSubData?? I just tried glblitframbuffer and it works but with a big performance penalty and i want to avoid it. I want to try if glCopyImageSubData works better.

Thank you :slight_smile:

No. glCopyImageSubData only targets named images. And the default framebuffer images are not named.

but with a big performance penalty

Relative to what, exactly?