GLBINDRENDERBUFFER(3G)

NAME
glBindRenderbuffer - bind a renderbuffer to a renderbuffer target

C SPECIFICATION

void glBindRenderbuffer(GLenum target, GLuint renderbuffer);

PARAMETERS

target
    Specifies the renderbuffer target of the binding operation. target must be GL_RENDERBUFFER.

renderbuffer
    Specifies the name of the renderbuffer object to bind.

DESCRIPTION

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.

ERRORS

GL_INVALID_ENUM is generated if target is not GL_RENDERBUFFER.

GL_INVALID_OPERATION is generated if renderbuffer is not zero or the name of a renderbuffer previously returned from a call to glGenRenderbuffers().

VERSION SUPPORT
 | OpenGL Version
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 | 4.6
glBindRenderbuffer | - | - | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔

SEE ALSO

glDeleteRenderbuffers(), glGenRenderbuffers(), glIsRenderbuffer(), glRenderbufferStorage(), glRenderbufferStorageMultisample()

COPYRIGHT

Copyright © 2010-2014 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. https://opencontent.org/openpub/.

COPYRIGHT
Copyright © 2010-2014 Khronos Group