Portal:OpenGL Objects/Framebuffer Objects

From OpenGL.org
Jump to: navigation, search

A Framebuffer Object (FBO) is a container object that stores a series of images that can, as a collection, be used as a Framebuffer. Images can be added to or removed from an FBO as needed. Images can come from Texture objects or Renderbuffer Objects. In this way, textures can be render targets.

The set of images added to an FBO must satisfy certain constraints before the FBO can be utilized. These constraints are fairly minimal, such has having valid storage and using valid image formats.

Rendering to an image in a texture while reading from the same image is not allowed by the OpenGL memory model. Violating this constraint yields undefined behavior.