From Aurelien Albert, "Here is the code to get access to OpenGL handle of an osg::FrameBufferObject"
This commit is contained in:
parent
9878a83894
commit
9c9939e5d4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user