Light | Dark

# docs.GL

OpenGL 4
OpenGL 3
OpenGL ES 3
OpenGL ES 2

# glIsRenderbuffer

## 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 if `renderbuffer` is not the name of a renderbuffer object, or if an error occurs, `glIsRenderbuffer` returns `GL_FALSE`. If `renderbuffer` is a name returned by glGenRenderbuffers, by that has not yet been bound through a call to glBindRenderbuffer or glFramebufferRenderbuffer, then the name is not a renderbuffer object and `glIsRenderbuffer` returns `GL_FALSE`.

## API Version Support

| OpenGL ES API Version
--- | ---
Function Name | 2.0 | 3.0 | 3.1
glIsRenderbuffer | ✔ | ✔ | ✔

## See Also

glGenRenderbuffers, glBindRenderbuffer, glFramebufferRenderbuffer, glDeleteRenderbuffers

## 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. https://opencontent.org/openpub/.

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