Hello Michael,

On 12/02/2011 07:44 AM, Michael Raab wrote:
> do you know if and how I can get the currently bound frame buffer object id 
> from OpenGL?

GLint drawFBO = 0;
GLint readFBO = 0;

glGetIntegerv(GL_DRAW_FRAMEBFUFER_BINDING, &drawFBO) and 
glGetIntegerv(GL_READ_FRAMEBFUFER_BINDING, &readFBO)

see http://www.opengl.org/sdk/docs/man3/xhtml/glGet.xml for details. 
This is for OpenGL core 3.3, but it should be similar for the various 
FBO extensions.

        Cheers,
                Carsten

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to