PDA

View Full Version : Frame buffer support in 2.1?



Midnightas
04-29-2018, 03:59 PM
I see the framebuffer EXT however very little is written about this extension.
Or does OpenGL 2.1 support framebuffers?

Dark Photon
04-29-2018, 05:43 PM
OpenGL 2.1 supports the system framebuffer of course, but I don't think that's what you're asking.

The core 2.1 spec (https://www.khronos.org/registry/OpenGL/specs/gl/glspec21.pdf) doesn't define framebuffer objects (FBOs) -- i.e. framebuffers besides the system framebuffer. However, you can access them through extensions on most platforms. Prefer accessing them using ARB_framebuffer_object (https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_framebuffer_object.txt) over EXT_framebuffer_object (https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_framebuffer_object.txt) as that was the version integrated into the OpenGL 3.0 spec.