glDeleteFramebuffers

glDeleteFramebuffers: man3/glDeleteFramebuffers.xml

glDeleteFramebuffers deletes the n framebuffer objects whose names are stored in the array addressed by framebuffers. The name zero is reserved by the GL and is silently ignored, should it occur in framebuffers, as are other unused names. Once a framebuffer object is deleted, its name is again unused and it has no attachments. If a framebuffer that is currently bound to one or more of the targets GL_DRAW_FRAMEBUFFER or GL_READ_FRAMEBUFFER is deleted, it is as though glBindFramebuffer had been executed with the corresponding target and framebuffer zero.

@OpenGL_Version(OGLIntroducedIn.V3P0)
@OpenGL_Extension("GL_ARB_framebuffer_object")
fn_glDeleteFramebuffers glDeleteFramebuffers;

See Also

glGenFramebuffers, glBindFramebuffer, glCheckFramebufferStatus

Meta