Portal:OpenGL Objects/Framebuffer Objects: Difference between revisions
Jump to navigation
Jump to search
Portal for FBO. |
m Formatting and cleanup. |
||
Line 1: | Line 1: | ||
A '''Framebuffer Object''' (FBO) is a | A '''Framebuffer Object''' (FBO) is a [[OpenGL_Object#Container_objects|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 Object]]s. In this way, textures can be render targets. | ||
The set of images added to an FBO must [[Framebuffer_Object#Framebuffer_Completeness|satisfy certain constraints]] before the FBO can be utilized. These constraints are fairly minimal, such has having valid storage and using [[Image_Formats#Required_formats|valid image formats]]. | The set of images added to an FBO must [[Framebuffer_Object#Framebuffer_Completeness|satisfy certain constraints]] before the FBO can be utilized. These constraints are fairly minimal, such has having valid storage and using [[Image_Formats#Required_formats|valid image formats]]. | ||
Rendering to an image in a texture while reading from the same image is [[Memory_Model#Framebuffer_objects|not allowed by the OpenGL memory model]]. Violating this constraint yields undefined behavior. | Rendering to an image in a texture while reading from the same image is [[Memory_Model#Framebuffer_objects|not allowed by the OpenGL memory model]]. Violating this constraint yields undefined behavior. |
Revision as of 06:32, 26 February 2013
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.