PDA

View Full Version : glCopyImageSubData



MrFrustum
09-04-2012, 11:58 AM
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 :)

Alfonse Reinheart
09-04-2012, 12:11 PM
No. glCopyImageSubData only targets named images. And the default framebuffer images are not named.


but with a big performance penalty

Relative to what, exactly?