glRenderMode

set rasterization mode

Signature

glRenderMode( GLenum ( mode ) )-> GLint
glRenderMode( newMode )
Change to the given rendering mode

    If the current mode is GL_FEEDBACK or GL_SELECT, return
    the current buffer appropriate to the mode
    

Parameters

VariablesDescription
mode
Specifies the rasterization mode. Three values are accepted: GL_RENDER , GL_SELECT , and GL_FEEDBACK . The initial value is GL_RENDER .

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.

glRenderMode
OpenGLContext tests/feedback_mode.py Lines: 12, 16, 23, 25, 35, 39
OpenGLContext OpenGLContext/passes/renderpass.py Lines: 313, 506, 551
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 320
pyBzEdit pyBzEdit.py Lines: 748, 811
{LGPL} VisionEgg test/conform.py Lines: 110, 112, 259, 261
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 290, 326
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 453, 480
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 767, 796
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 453, 480
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 766, 795