Light | Dark

glIsFramebuffer

Name

glIsFramebuffer — 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 is a non-zero value that is not currently the name of a framebuffer object, or if an error occurs, glIsFramebuffer returns GL_FALSE.

A name returned by glGenFramebuffers, but not yet associated with a framebuffer object by calling glBindFramebuffer, is not the name of a framebuffer object.

Think you can improve this page? Edit this page on GitHub.