logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

glIsFramebuffer - determine if a name corresponds to a framebuffer object

C Specification

GLbooleanglIsFramebuffer(GLuintframebuffer);

Description

glIsFramebuffer returns GL_TRUE if framebuffer is currently the name of a framebuffer object. If
       framebuffer is zero, or if framebuffer is not the name of a framebuffer object, or if an error occurs,
       glIsFramebuffer returns GL_FALSE. If framebuffer is a name returned by glGenFramebuffers(), by that has
       not yet been bound through a call to glBindFramebuffer(), then the name is not a framebuffer object and
       glIsFramebuffer returns GL_FALSE.

Name

       glIsFramebuffer - determine if a name corresponds to a framebuffer object

Parameters

framebuffer
           Specifies a value that may be the name of a framebuffer object.

See Also

glGenFramebuffers(), glBindFramebuffer(), glDeleteFramebuffers()

Version Support

       ┌─────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                 │                OpenGLVersion                                         │
       ├─────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │ /               │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature         │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name            │     │     │     │     │     │     │     │     │     │     │     │     │
       ├─────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glIsFramebuffer │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └─────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also