glReadBuffer

select a color buffer source for pixels

Signature

glReadBuffer( GLenum ( mode ) )-> void
glReadBuffer( mode )

Parameters

VariablesDescription
mode
Specifies a color buffer. Accepted values are GL_FRONT_LEFT , GL_FRONT_RIGHT , GL_BACK_LEFT , GL_BACK_RIGHT , GL_FRONT , GL_BACK , GL_LEFT , GL_RIGHT , and the constants GL_COLOR_ATTACHMENT i .

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glReadBuffer
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1033, 1035
{LGPL} VisionEgg VisionEgg/Core.py Lines: 464, 466
{LGPL} PyMT pymt/modules/keybinding.py Lines: 34, 36
{LGPL} PyMT pymt/modules/recordvideo.py Lines: 9, 19
{LGPL} PyMT pymt/modules/mjpegserver.py Lines: 32, 160
{LGPL} PyMT pymt/graphx/fbo.py Lines: 20, 251, 279
Visvis core/axes.py Lines: 41
Visvis functions/getframe.py Lines: 30