Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glCopyImageSubData

  1. #1
    Junior Member Newbie
    Join Date
    May 2011
    Location
    Italy
    Posts
    22

    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

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    No. glCopyImageSubData only targets named images. And the default framebuffer images are not named.

    but with a big performance penalty
    Relative to what, exactly?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •