From Aurelien Albert, "Here is the code to get access to OpenGL handle of an osg::FrameBufferObject"

This commit is contained in:
Robert Osfield
2013-07-31 07:11:05 +00:00
parent 123058965c
commit 9a90ddd2d9

View File

@@ -418,6 +418,11 @@ namespace osg
void apply(State &state) const;
inline GLuint getHandle(unsigned int contextID) const
{
return _fboID[contextID];
}
enum BindTarget
{
READ_FRAMEBUFFER = GL_READ_FRAMEBUFFER_EXT,