glIsFramebuffer.3G - Man Page
determine if a name corresponds to a framebuffer object
C Specification
GLboolean glIsFramebuffer(GLuint framebuffer);
Parameters
- framebuffer
Specifies a value that may be the name of a framebuffer object.
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.
Version Support
OpenGL Version | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 |
glIsFramebuffer | - | - | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
See Also
glGenFramebuffers(), glBindFramebuffer(), glDeleteFramebuffers()
Copyright
Copyright © 2010-2014 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-2014 Khronos Group
Referenced By
glBindFramebuffer.3G(3), glCreateFramebuffers.3G(3).