Name

glIsRenderbuffer — determine if a name corresponds to a renderbuffer object

C Specification

GLboolean glIsRenderbuffer(GLuint renderbuffer);
 

Parameters

renderbuffer

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

Description

glIsRenderbuffer returns GL_TRUE if renderbuffer is currently the name of a renderbuffer object. If renderbuffer is zero, or is a non-zero value that is not currently the name of a renderbuffer object, or if an error occurs, glIsRenderbuffer returns GL_FALSE.

A name returned by glGenRenderbuffers, but not yet associated with a renderbuffer object by calling glBindRenderbuffer, is not the name of a renderbuffer object.

See Also

glBindRenderbuffer, glDeleteRenderbuffers, glGenRenderbuffers

Copyright

Copyright © 2008 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/.