Login  Register

querying textures bound to default draw/read framebuffers

Posted by ac on Oct 20, 2012; 2:39am
URL: https://forum.jogamp.org/querying-textures-bound-to-default-draw-read-framebuffers-tp4026564.html

Hello, I'm testing the new FBO-based offscreen Drawable mechanism. So far, I figured out that the GL id's of the draw and read framebuffers can be retrieved with GLContext.getDefaultDrawFramebuffer() and GLContext.getDefaultReadFramebuffer(). For certain applications, I'd also need to access the name of the texture used as the back color buffer, but I haven't found a way to do so. Any suggestions?