GLDELETEFRAMEBUFFERS(3G)

    .SH "NAME" glDeleteFramebuffers - delete framebuffer objects
    .SH "C SPECIFICATION"

            .HP u void glDeleteFramebuffers(GLsizei n, GLuint *framebuffers);

    .SH "PARAMETERS"

        .PP n

                    Specifies the number of framebuffer objects to be deleted.

            .RE
            .PP framebuffers

                        A pointer to an array containing n framebuffer objects to be deleted.

                .RE

            .SH "DESCRIPTION"
                .PP glDeleteFramebuffers deletes the n framebuffer objects whose names are stored in the array addressed by framebuffers. Unused names in framebuffers that have been marked as used for the purposes of glGenFramebuffers() are marked as unused again. 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.

            .SH "ERRORS"
                .PP GL_INVALID_VALUE is generated if n is negative.

            .SH "API VERSION SUPPORT"

                .TS allbox tab(:); l l l l l. T{ glDeleteFramebuffers T}:T{ T}:T{ T}:T{ T}:T{ T}

            .SH "SEE ALSO"
                .PP glGenFramebuffers(), glBindFramebuffer(), glCheckFramebufferStatus()

            .SH "COPYRIGHT"
                .PP Copyright © 2010-2015 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/.

COPYRIGHT
Copyright © 2010-2015 Khronos Group