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

/comp/gb.opengl/gl/isframebufferext

# Gl.IsFramebufferEXT (gb.opengl)

Static Function IsFramebufferEXT ( Framebuffer As Integer ) As Boolean

Determine if a name corresponds to a framebuffer object.

### Parameters

framebuffer

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

### Description

Gl.IsFramebuffer 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, Gl.IsFramebuffer returns Gl.FALSE. If framebuffer is a name returned by Gl.GenFramebuffers, but that has not yet been bound through a call to Gl.BindFramebuffer, then the name is not a framebuffer object and Gl.IsFramebuffer returns Gl.FALSE.

### See also

Gl.GenFramebuffers Gl.BindFramebuffer Gl.DeleteFramebuffers

See original documentation on OpenGL website