Portal:OpenGL Objects/Renderbuffer Objects: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Portal for renderbuffer.
 
Reason for using them.
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.
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.

Revision as of 03:56, 26 February 2013

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 to a texture, but needing a depth buffer for Depth Tests.