本篇文章主要介绍OpenGL中GL_FRONT_RIGHT、GL_BACK_RIGHT等绘制缓冲的概念,参考自:
[1]https://www.khronos.org/opengl/wiki/Default_Framebuffer
[2]https://stackoverflow.com/questions/23236690/explain-different-types-of-draw-buffers
DrawBuffer顾名思义,绘制缓冲。主要针对于默认缓冲的颜色缓冲来说。
(Color buffers)颜色缓冲
The default framebuffer contains up to 4 color buffers, named GL_FRONT_LEFT, GL_BACK_LEFT, GL_FRONT_RIGHT, and GL_BACK_RIGHT. The left and right buffers are used for stereoscopic rendering. Most consumer graphics cards cannot use these for doing stereoscopic 3D visualization.
If stereo rendering is not being done, then only the left buffers will be active. Attempts to read from or draw to the right buffers would