WGLpbuffer
WGLpbuffer is an offscreen rendering surface provided by Windows OpenGL (WGL) extensions. It enables rendering to a pixel buffer that exists independently of any visible window, allowing applications to render images, textures, or perform image processing without creating a windowed context.
Pbuffers are created with the WGL pbuffer extension, typically wglCreatePbufferARB (or wglCreatePbufferEXT), using an attribute list
Once current, GL commands render to the pbuffer's color, depth, and stencil buffers (storage depends on the
PBuffers are destroyed with wglDestroyPbufferARB/EXT; the associated DC must be released with wglReleasePbufferDCARB/EXT. Proper error handling
See also: OpenGL framebuffer objects, WGL_ARB_pbuffer, WGL_EXT_pbuffer, WGL_ARB_pixel_format.