Portal:OpenGL Objects/Buffer Object: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Portal describing buffer objects.
 
m Bot: Updating section links to use redirects.
 
Line 1: Line 1:
A '''buffer object''' is a linear array of memory, who's storage is managed by the OpenGL context. There are many OpenGL APIs that use buffer objects as source or destination data for reading/writing operations. There are many functions for [[Buffer_Object#Creation|allocating buffer object storage]], [[Buffer_Object#Data_Specification|updating its contents]], and for [[Buffer Object Streaming|efficiently loading data continuously]].
A '''buffer object''' is a linear array of memory, who's storage is managed by the OpenGL context. There are many OpenGL APIs that use buffer objects as source or destination data for reading/writing operations. There are many functions for [[Buffer Storage|allocating buffer object storage]], [[Buffer Dara Specification|updating its contents]], and for [[Buffer Object Streaming|efficiently loading data continuously]].


Buffer objects have a [[Buffer Object#General use|wide variety of uses]], with each target roughly corresponding to a specific usage of a buffer object. An important thing to remember is that, subject to the limits of the OpenGL [[Memory Model]], you may freely interchange buffer objects. A buffer object can be used as the [[Vertex Buffer Object|source of vertex data]] in one instance, then used as the [[Transform Feedback|destination for vertex writing]] in another, then used as the [[Pixel Buffer Object|source for pixel data transfers]], etc.
Buffer objects have a [[Buffer Object#General use|wide variety of uses]], with each target roughly corresponding to a specific usage of a buffer object. An important thing to remember is that, subject to the limits of the OpenGL [[Memory Model]], you may freely interchange buffer objects. A buffer object can be used as the [[Vertex Buffer Object|source of vertex data]] in one instance, then used as the [[Transform Feedback|destination for vertex writing]] in another, then used as the [[Pixel Buffer Object|source for pixel data transfers]], etc.

Latest revision as of 06:11, 12 April 2015

A buffer object is a linear array of memory, who's storage is managed by the OpenGL context. There are many OpenGL APIs that use buffer objects as source or destination data for reading/writing operations. There are many functions for allocating buffer object storage, updating its contents, and for efficiently loading data continuously.

Buffer objects have a wide variety of uses, with each target roughly corresponding to a specific usage of a buffer object. An important thing to remember is that, subject to the limits of the OpenGL Memory Model, you may freely interchange buffer objects. A buffer object can be used as the source of vertex data in one instance, then used as the destination for vertex writing in another, then used as the source for pixel data transfers, etc.