glIsFramebuffer.3G - Man Page

determine if a name corresponds to a framebuffer object

C Specification

GLboolean glIsFramebuffer(GLuint framebuffer);



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


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.

Version Support

OpenGL Version
Function / Feature Name2.

See Also

glGenFramebuffers(), glBindFramebuffer(), glDeleteFramebuffers()

Referenced By

glBindFramebuffer.3G(3), glCreateFramebuffers.3G(3).