Portal:OpenGL Objects/Renderbuffer Objects

From OpenGL Wiki
Revision as of 16:14, 1 December 2014 by Alfonse (talk | contribs) (Clarification)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Renderbuffer Object is an object that represents a single image of a specific Image Format. Such objects can only be used as render targets for Framebuffer Objects; they cannot be read from, outside of any operation that reads from the Framebuffer that the renderbuffer happens to be attached to. They are only useful if you need a particular image for rendering to, such as wanting to render colors to a texture, but needing a depth buffer for Depth Tests. The depth buffer could be a renderbuffer rather than a texture.