Portal:OpenGL Objects/Framebuffer Objects

From OpenGL Wiki
< Portal:OpenGL Objects
Revision as of 02:39, 13 April 2015 by AlfonsesRenamerBot (talk | contribs) (Bot: Updating section links to use redirects.)
Jump to navigation Jump to 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 generally allowed by the OpenGL memory model, though there are ways to make it work. Violating such constraints yields undefined behavior.