Gambas Documentation - /comp/gb.opengl/gl/isrenderbufferext

/comp/gb.opengl/gl/isrenderbufferext

# Gl.IsRenderbufferEXT (gb.opengl)

Static Function IsRenderbufferEXT ( Renderbuffer As Integer ) As Boolean

Determine if a name corresponds to a renderbuffer object.

### Parameters

renderbuffer

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

### Description

Gl.IsRenderbuffer 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, Gl.IsRenderbuffer returns Gl.FALSE. If renderbuffer is a name returned by Gl.GenRenderbuffers, by that has not yet been bound through a call to Gl.BindRenderbuffer or Gl.FramebufferRenderbuffer, then the name is not a renderbuffer object and Gl.IsRenderbuffer returns Gl.FALSE.

### See also

Gl.GenRenderbuffers, Gl.BindRenderbuffer, Gl.FramebufferRenderbuffer, Gl.DeleteRenderbuffers

See original documentation on OpenGL website