HOME

TheInfoList



OR:

Pixel buffer or pBuffer is a feature in
OpenGL OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardwa ...
and
OpenGL ES OpenGL for Embedded Systems (OpenGL ES or GLES) is a subset of the OpenGL computer graphics rendering application programming interface (API) for rendering 2D and 3D computer graphics such as those used by video games, typically hardware-accel ...
platform interfaces which allows for off-screen rendering. It is specified as an extension to WGL API, and a core feature of
GLX GLX (initialism for "OpenGL Extension to the X Window System") is an extension to the X Window System core protocol providing an interface between OpenGL and the X Window System as well as extensions to OpenGL itself. It enables programs wishing ...
& EGL. When using pBuffers, a user can bind an OpenGL context to offscreen surfaces, effectively allowing for off-screen rendering to a default framebuffer, allocated by OpenGL itself. The pBuffer functionality has been superseded by the usage of FBOs (Framebuffer Objects). However, pBuffers can be still used with modern
OpenGL OpenGL (Open Graphics Library) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardwa ...
drivers. pBuffers should not be confused with Pixel buffer objects (also named PBOs), which are non-renderable buffers containing raw pixel data.


See also

* Framebuffer Object * Pixel buffer objects


External links


WGL_EXT_pbuffer extension

GLX pbuffer creation routine

EGL pbuffer creation routine
OpenGL {{compu-prog-stub