bind a renderbuffer to a renderbuffer target
Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER .
Specifies the name of the renderbuffer object to bind.
glBindRenderbuffer binds the renderbuffer object with name renderbuffer to the renderbuffer target specified by target . target must be GL_RENDERBUFFER . renderbuffer is the name of a renderbuffer object previously returned from a call to glGenRenderbuffers , or zero to break the existing binding of a renderbuffer object to target .
GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER .
Copyright 2010-2013 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/ .
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
OpenGLContext tests/shadow_2.py Lines: 97, 105