Portal:OpenGL Objects/Renderbuffer Objects: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Reason for using them.
Clarification
 
Line 1: Line 1:
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 Object]]s; 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 to a texture, but needing a depth buffer for [[Depth Test]]s.
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 Object]]s; 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 Test]]s. The depth buffer could be a renderbuffer rather than a texture.

Latest revision as of 16:14, 1 December 2014

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.