glBindRenderbuffer.3G - Man Page

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 Name2.02.13.03.13.23.34.04.14.24.34.44.5
glBindRenderbuffer--

See Also

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

Referenced By

glCreateRenderbuffers.3G(3), glGetRenderbufferParameteriv.3G(3), glIsRenderbuffer.3G(3), glRenderbufferStorage.3G(3), glRenderbufferStorageMultisample.3G(3), glSampleMaski.3G(3).

07/22/2021