Previous: glEdgeFlagPointer Table of Contents (GL) Next: glEnableClientState

glEnable

enable or disable server-side GL capabilities

Signature

glDisable( GLenum ( cap ) )-> void
glDisable( cap )
glDisable( GLenum(cap) ) -> None
glDisablei( target , index )
glDisablei(GLenum(target), GLuint(index)) -> None
glEnable( GLenum ( cap ) )-> void
glEnable( cap )
glEnable( GLenum(cap) ) -> None
glEnablei( target , index )
glEnablei(GLenum(target), GLuint(index)) -> None

Parameters

VariablesDescription
cap
Specifies a symbolic constant indicating a GL capability.

Parameters

cap
Specifies a symbolic constant indicating a GL capability.

Description

glEnable and glDisable enable and disable various capabilities. Use glIsEnabled or glGet to determine the current setting of any capability. The initial value for each capability with the exception of GL_DITHER and GL_MULTISAMPLE is GL_FALSE . The initial value for GL_DITHER and GL_MULTISAMPLE is GL_TRUE .
Both glEnable and glDisable take a single argument, cap , which can assume one of the following values:
GL_ALPHA_TEST
If enabled, do alpha testing. See glAlphaFunc .
GL_AUTO_NORMAL
If enabled, generate normal vectors when either GL_MAP2_VERTEX_3 or GL_MAP2_VERTEX_4 is used to generate vertices. See glMap2 .
GL_BLEND
If enabled, blend the computed fragment color values with the values in the color buffers. See glBlendFunc .
GL_CLIP_PLANE i
If enabled, clip geometry against user-defined clipping plane i . See glClipPlane .
GL_COLOR_LOGIC_OP
If enabled, apply the currently selected logical operation to the computed fragment color and color buffer values. See glLogicOp .
GL_COLOR_MATERIAL
If enabled, have one or more material parameters track the current color. See glColorMaterial .
GL_COLOR_SUM
If enabled and no fragment shader is active, add the secondary color value to the computed fragment color. See glSecondaryColor .
GL_COLOR_TABLE
If enabled, perform a color table lookup on the incoming RGBA color values. See glColorTable .
GL_CONVOLUTION_1D
If enabled, perform a 1D convolution operation on incoming RGBA color values. See glConvolutionFilter1D .
GL_CONVOLUTION_2D
If enabled, perform a 2D convolution operation on incoming RGBA color values. See glConvolutionFilter2D .
GL_CULL_FACE
If enabled, cull polygons based on their winding in window coordinates. See glCullFace .
GL_DEPTH_TEST
If enabled, do depth comparisons and update the depth buffer. Note that even if the depth buffer exists and the depth mask is non-zero, the depth buffer is not updated if the depth test is disabled. See glDepthFunc and glDepthRange .
GL_DITHER
If enabled, dither color components or indices before they are written to the color buffer.
GL_FOG
If enabled and no fragment shader is active, blend a fog color into the post-texturing color. See glFog .
GL_HISTOGRAM
If enabled, histogram incoming RGBA color values. See glHistogram .
GL_INDEX_LOGIC_OP
If enabled, apply the currently selected logical operation to the incoming index and color buffer indices. See glLogicOp .
GL_LIGHT i
If enabled, include light i in the evaluation of the lighting equation. See glLightModel and glLight .
GL_LIGHTING
If enabled and no vertex shader is active, use the current lighting parameters to compute the vertex color or index. Otherwise, simply associate the current color or index with each vertex. See glMaterial , glLightModel , and glLight .
GL_LINE_SMOOTH
If enabled, draw lines with correct filtering. Otherwise, draw aliased lines. See glLineWidth .
GL_LINE_STIPPLE
If enabled, use the current line stipple pattern when drawing lines. See glLineStipple .
GL_MAP1_COLOR_4
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate RGBA values. See glMap1 .
GL_MAP1_INDEX
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate color indices. See glMap1 .
GL_MAP1_NORMAL
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate normals. See glMap1 .
GL_MAP1_TEXTURE_COORD_1
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate s texture coordinates. See glMap1 .
GL_MAP1_TEXTURE_COORD_2
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate s and t texture coordinates. See glMap1 .
GL_MAP1_TEXTURE_COORD_3
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate s , t , and r texture coordinates. See glMap1 .
GL_MAP1_TEXTURE_COORD_4
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate s , t , r , and q texture coordinates. See glMap1 .
GL_MAP1_VERTEX_3
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate x , y , and z vertex coordinates. See glMap1 .
GL_MAP1_VERTEX_4
If enabled, calls to glEvalCoord1 , glEvalMesh1 , and glEvalPoint1 generate homogeneous x , y , z , and w vertex coordinates. See glMap1 .
GL_MAP2_COLOR_4
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate RGBA values. See glMap2 .
GL_MAP2_INDEX
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate color indices. See glMap2 .
GL_MAP2_NORMAL
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate normals. See glMap2 .
GL_MAP2_TEXTURE_COORD_1
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate s texture coordinates. See glMap2 .
GL_MAP2_TEXTURE_COORD_2
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate s and t texture coordinates. See glMap2 .
GL_MAP2_TEXTURE_COORD_3
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate s , t , and r texture coordinates. See glMap2 .
GL_MAP2_TEXTURE_COORD_4
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate s , t , r , and q texture coordinates. See glMap2 .
GL_MAP2_VERTEX_3
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate x , y , and z vertex coordinates. See glMap2 .
GL_MAP2_VERTEX_4
If enabled, calls to glEvalCoord2 , glEvalMesh2 , and glEvalPoint2 generate homogeneous x , y , z , and w vertex coordinates. See glMap2 .
GL_MINMAX
If enabled, compute the minimum and maximum values of incoming RGBA color values. See glMinmax .
GL_MULTISAMPLE
If enabled, use multiple fragment samples in computing the final color of a pixel. See glSampleCoverage .
GL_NORMALIZE
If enabled and no vertex shader is active, normal vectors are normalized to unit length after transformation and before lighting. This method is generally less efficient than GL_RESCALE_NORMAL . See glNormal and glNormalPointer .
GL_POINT_SMOOTH
If enabled, draw points with proper filtering. Otherwise, draw aliased points. See glPointSize .
GL_POINT_SPRITE
If enabled, calculate texture coordinates for points based on texture environment and point parameter settings. Otherwise texture coordinates are constant across points.
GL_POLYGON_OFFSET_FILL
If enabled, and if the polygon is rendered in GL_FILL mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed. See glPolygonOffset .
GL_POLYGON_OFFSET_LINE
If enabled, and if the polygon is rendered in GL_LINE mode, an offset is added to depth values of a polygon's fragments before the depth comparison is performed. See glPolygonOffset .
GL_POLYGON_OFFSET_POINT
If enabled, an offset is added to depth values of a polygon's fragments before the depth comparison is performed, if the polygon is rendered in GL_POINT mode. See glPolygonOffset .
GL_POLYGON_SMOOTH
If enabled, draw polygons with proper filtering. Otherwise, draw aliased polygons. For correct antialiased polygons, an alpha buffer is needed and the polygons must be sorted front to back.
GL_POLYGON_STIPPLE
If enabled, use the current polygon stipple pattern when rendering polygons. See glPolygonStipple .
GL_POST_COLOR_MATRIX_COLOR_TABLE
If enabled, perform a color table lookup on RGBA color values after color matrix transformation. See glColorTable .
GL_POST_CONVOLUTION_COLOR_TABLE
If enabled, perform a color table lookup on RGBA color values after convolution. See glColorTable .
GL_RESCALE_NORMAL
If enabled and no vertex shader is active, normal vectors are scaled after transformation and before lighting by a factor computed from the modelview matrix. If the modelview matrix scales space uniformly, this has the effect of restoring the transformed normal to unit length. This method is generally more efficient than GL_NORMALIZE . See glNormal and glNormalPointer .
GL_SAMPLE_ALPHA_TO_COVERAGE
If enabled, compute a temporary coverage value where each bit is determined by the alpha value at the corresponding sample location. The temporary coverage value is then ANDed with the fragment coverage value.
GL_SAMPLE_ALPHA_TO_ONE
If enabled, each sample alpha value is replaced by the maximum representable alpha value.
GL_SAMPLE_COVERAGE
If enabled, the fragment's coverage is ANDed with the temporary coverage value. If GL_SAMPLE_COVERAGE_INVERT is set to GL_TRUE , invert the coverage value. See glSampleCoverage .
GL_SEPARABLE_2D
If enabled, perform a two-dimensional convolution operation using a separable convolution filter on incoming RGBA color values. See glSeparableFilter2D .
GL_SCISSOR_TEST
If enabled, discard fragments that are outside the scissor rectangle. See glScissor .
GL_STENCIL_TEST
If enabled, do stencil testing and update the stencil buffer. See glStencilFunc and glStencilOp .
GL_TEXTURE_1D
If enabled and no fragment shader is active, one-dimensional texturing is performed (unless two- or three-dimensional or cube-mapped texturing is also enabled). See glTexImage1D .
GL_TEXTURE_2D
If enabled and no fragment shader is active, two-dimensional texturing is performed (unless three-dimensional or cube-mapped texturing is also enabled). See glTexImage2D .
GL_TEXTURE_3D
If enabled and no fragment shader is active, three-dimensional texturing is performed (unless cube-mapped texturing is also enabled). See glTexImage3D .
GL_TEXTURE_CUBE_MAP
If enabled and no fragment shader is active, cube-mapped texturing is performed. See glTexImage2D .
GL_TEXTURE_GEN_Q
If enabled and no vertex shader is active, the q texture coordinate is computed using the texture generation function defined with glTexGen . Otherwise, the current q texture coordinate is used. See glTexGen .
GL_TEXTURE_GEN_R
If enabled and no vertex shader is active, the r texture coordinate is computed using the texture generation function defined with glTexGen . Otherwise, the current r texture coordinate is used. See glTexGen .
GL_TEXTURE_GEN_S
If enabled and no vertex shader is active, the s texture coordinate is computed using the texture generation function defined with glTexGen . Otherwise, the current s texture coordinate is used. See glTexGen .
GL_TEXTURE_GEN_T
If enabled and no vertex shader is active, the t texture coordinate is computed using the texture generation function defined with glTexGen . Otherwise, the current t texture coordinate is used. See glTexGen .
GL_VERTEX_PROGRAM_POINT_SIZE
If enabled and a vertex shader is active, then the derived point size is taken from the (potentially clipped) shader builtin gl_PointSize and clamped to the implementation-dependent point size range.
GL_VERTEX_PROGRAM_TWO_SIDE
If enabled and a vertex shader is active, it specifies that the GL will choose between front and back colors based on the polygon's face direction of which the vertex being shaded is a part. It has no effect on points or lines.

Notes

GL_POLYGON_OFFSET_FILL , GL_POLYGON_OFFSET_LINE , GL_POLYGON_OFFSET_POINT , GL_COLOR_LOGIC_OP , and GL_INDEX_LOGIC_OP are available only if the GL version is 1.1 or greater.
GL_RESCALE_NORMAL , and GL_TEXTURE_3D are available only if the GL version is 1.2 or greater.
GL_MULTISAMPLE , GL_SAMPLE_ALPHA_TO_COVERAGE , GL_SAMPLE_ALPHA_TO_ONE , GL_SAMPLE_COVERAGE , GL_TEXTURE_CUBE_MAP are available only if the GL version is 1.3 or greater.
GL_POINT_SPRITE , GL_VERTEX_PROGRAM_POINT_SIZE , and GL_VERTEX_PROGRAM_TWO_SIDE is available only if the GL version is 2.0 or greater.
GL_COLOR_TABLE , GL_CONVOLUTION_1D , GL_CONVOLUTION_2D , GL_HISTOGRAM , GL_MINMAX , GL_POST_COLOR_MATRIX_COLOR_TABLE , GL_POST_CONVOLUTION_COLOR_TABLE , and GL_SEPARABLE_2D are available only if
ARB_imaging
is returned from glGet with an argument of GL_EXTENSIONS .
For OpenGL versions 1.3 and greater, or when
ARB_multitexture
is supported, GL_TEXTURE_1D , GL_TEXTURE_2D , GL_TEXTURE_3D , GL_TEXTURE_GEN_S , GL_TEXTURE_GEN_T , GL_TEXTURE_GEN_R , and GL_TEXTURE_GEN_Q enable or disable the respective state for the active texture unit specified with glActiveTexture .

Errors

GL_INVALID_ENUM is generated if cap is not one of the values listed previously.
GL_INVALID_OPERATION is generated if glEnable or glDisable is executed between the execution of glBegin and the corresponding execution of glEnd .

Associated Gets

See Also

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.

glDisable
OpenGLContext OpenGLContext/texture.py Lines: 98
OpenGLContext OpenGLContext/framecounter.py Lines: 59, 60
OpenGLContext OpenGLContext/context.py Lines: 700, 701
OpenGLContext OpenGLContext/shadow/passes.py Lines: 131, 132, 163, 164
OpenGLContext OpenGLContext/scenegraph/nurbs.py Lines: 126, 127, 178
OpenGLContext OpenGLContext/scenegraph/shape.py Lines: 53, 58, 92
OpenGLContext OpenGLContext/scenegraph/spherebackground.py Lines: 49, 50, 52, 66
OpenGLContext OpenGLContext/scenegraph/indexedpolygons.py Lines: 42, 99, 224
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 272, 323, 329
OpenGLContext OpenGLContext/scenegraph/pointset.py Lines: 67, 80, 82
OpenGLContext OpenGLContext/scenegraph/cubebackground.py Lines: 59, 60
OpenGLContext OpenGLContext/scenegraph/arraygeometry.py Lines: 160, 172
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 26, 321
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 326
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 95
OpenGLContext OpenGLContext/passes/renderpass.py Lines: 356, 384, 392
OpenGLContext OpenGLContext/passes/flat.py Lines: 262, 294, 318, 347, 390
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 161
OpenGLContext tests/gldrawelements_list.py Lines: 31, 34
OpenGLContext tests/nehe5.py Lines: 25
OpenGLContext tests/nehe6_convolve.py Lines: 129, 136
OpenGLContext tests/dek_surf.py Lines: 47
OpenGLContext tests/nehe7.py Lines: 135, 137, 138, 139
OpenGLContext tests/redbook_alpha.py Lines: 74, 78
OpenGLContext tests/pygame_textureatlas.py Lines: 152
OpenGLContext tests/nehe4.py Lines: 41, 42
OpenGLContext tests/nehe6.py Lines: 66
OpenGLContext tests/glut_fullscreen.py Lines: 19
OpenGLContext tests/glprint.py Lines: 112
OpenGLContext tests/redbook_alpha3D.py Lines: 145
OpenGLContext tests/glu_tess2.py Lines: 48
OpenGLContext tests/nehe3.py Lines: 28, 29
OpenGLContext tests/nehe2.py Lines: 44
OpenGLContext tests/textureobject.py Lines: 17
OpenGLContext tests/nehe6_timer.py Lines: 81
OpenGLContext tests/dek_texturesurf.py Lines: 59
OpenGLContext tests/nehe6_multi.py Lines: 75
OpenGLContext tests/wgl_font.py Lines: 47
OpenGLContext tests/glhistogram.py Lines: 75
OpenGLContext tests/nehe8.py Lines: 76, 78, 79, 80, 98, 110, 124, 129
OpenGL-Demo PyOpenGL-Demo/tom/conechecker.py Lines: 24
OpenGL-Demo PyOpenGL-Demo/tom/poly.py Lines: 50
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 36
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 59
OpenGL-Demo PyOpenGL-Demo/tom/checker.py Lines: 24
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 47
OpenGL-Demo PyOpenGL-Demo/tom/arraytest.py Lines: 37
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 20
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 108, 109, 110, 152, 174, 175, 179, 186
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 204
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 90
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 324, 350
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 177, 178
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 273, 275
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 74, 92, 93
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/lesson44.py Lines: 196, 197, 198
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glCamera.py Lines: 549, 649, 651
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 122
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 106
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 49
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 45
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 40
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/checker.py Lines: 33
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/arraytest.py Lines: 48
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 84, 85, 94, 95
Glinter Core.py Lines: 234, 251
{Artistic License} PymmLib applications/glutviewer.py Lines: 93, 192, 216
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 183, 189, 194, 199, 215, 217, 280, 320, 336, 431, 465, 479, 507, 557
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 137, 195, 242, 264, 316
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 319
{LGPL} PyUI2 renderers/openglBase.py Lines: 137, 195, 242, 264, 316
{LGPL} PyUI2 renderers/openglPygame.py Lines: 322
{LGPL} PyUI2 system/openglgraphics.py Lines: 99, 136, 166, 194, 374
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 323, 338, 424, 634, 640, 707, 709
{LGPL} VisionEgg VisionEgg/Core.py Lines: 1485, 1486, 1487
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 249, 250, 286, 303, 792, 793, 845
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 120, 121, 174, 239, 243, 247, 320, 321, 383, 448, 449, 450, 521
{LGPL} VisionEgg VisionEgg/Text.py Lines: 252, 253, 254, 266, 317, 318, 338
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 184, 241, 251
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1315, 1453, 1585
{GPL} GLChess src/lib/scene/opengl/opengl.py Lines: 383, 384, 549, 550, 626, 717, 732, 733, 806, 901
{LGPL} Pyggel pyggel/misc.py Lines: 36
{LGPL} Pyggel pyggel/particle.py Lines: 271
{LGPL} Pyggel pyggel/view.py Lines: 210, 246, 287, 311, 329
{LGPL} Pyggel pyggel/scene.py Lines: 140, 156, 182, 195
{LGPL} Pyggel pyggel/font.py Lines: 1005
{LGPL} Pyggel pyggel/light.py Lines: 49
{LGPL} Pyggel pyggel/image.py Lines: 170
{LGPL} Pyggel pyggel/geometry.py Lines: 331, 334, 486
{LGPL} pygl2d pygl2d/draw.py Lines: 34, 51, 62, 69, 80, 105
{GPL} Scocca scocca/graphics/opengl/decorators.py Lines: 29, 43
{GPL} Scocca scocca/graphics/opengl/projections.py Lines: 34
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/Label.py Lines: 169, 209
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 167
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 139, 186, 239
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 157, 238
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 452, 459, 492
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 169
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/PygameWrapperPlane.py Lines: 90
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/TexPlane.py Lines: 68, 101
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 498, 504, 543
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Button.py Lines: 126, 175
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 815, 854, 885
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 204
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Label.py Lines: 169, 209
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/TexPlane.py Lines: 107, 141
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 176
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Button.py Lines: 202, 272
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 167
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 139, 186, 239
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 157, 238
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 452, 459, 492
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 169
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/TexPlane.py Lines: 68, 101
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 498, 504, 543
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Button.py Lines: 126, 175
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 122, 245, 286, 330
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 246, 253, 256
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 126, 174
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 814, 853, 884
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 204
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 169, 209
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/TexPlane.py Lines: 107, 141
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 176
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 194, 261
glEnable
OpenGLContext OpenGLContext/texture.py Lines: 93
OpenGLContext OpenGLContext/drawcube.py Lines: 31, 32, 33
OpenGLContext OpenGLContext/framecounter.py Lines: 75
OpenGLContext OpenGLContext/context.py Lines: 696, 698
OpenGLContext OpenGLContext/shadow/passes.py Lines: 229, 233, 243, 247, 316, 317
OpenGLContext OpenGLContext/scenegraph/nurbs.py Lines: 107, 108, 176, 183, 208
OpenGLContext OpenGLContext/scenegraph/shape.py Lines: 51, 90
OpenGLContext OpenGLContext/scenegraph/spherebackground.py Lines: 51, 63, 64, 67
OpenGLContext OpenGLContext/scenegraph/indexedpolygons.py Lines: 26, 39, 75, 96, 222
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 293, 325, 331
OpenGLContext OpenGLContext/scenegraph/pointset.py Lines: 64, 71
OpenGLContext OpenGLContext/scenegraph/arraygeometry.py Lines: 150, 158, 170
OpenGLContext OpenGLContext/scenegraph/light.py Lines: 44, 45
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 32, 325
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 322
OpenGLContext OpenGLContext/browser/vpcurve.py Lines: 79
OpenGLContext OpenGLContext/passes/renderpass.py Lines: 332, 333, 339, 357, 382
OpenGLContext OpenGLContext/passes/flat.py Lines: 264, 265, 267, 279, 295, 348
OpenGLContext OpenGLContext/passes/rendervisitor.py Lines: 137, 164, 186, 338, 340
OpenGLContext tests/polygonal_text.py Lines: 24
OpenGLContext tests/arbwindowpos.py Lines: 89
OpenGLContext tests/gldrawpixels.py Lines: 53
OpenGLContext tests/nehe6_convolve.py Lines: 105, 150
OpenGLContext tests/dek_surf.py Lines: 48, 49, 50
OpenGLContext tests/nehe7.py Lines: 133, 134, 143
OpenGLContext tests/_bitmap_font.py Lines: 42, 53, 67, 82
OpenGLContext tests/redbook_surface.py Lines: 67, 68
OpenGLContext tests/redbook_alpha.py Lines: 77
OpenGLContext tests/pygame_textureatlas.py Lines: 129
OpenGLContext tests/heightmap.py Lines: 47, 48
OpenGLContext tests/sgng.py Lines: 92
OpenGLContext tests/nehe6.py Lines: 79
OpenGLContext tests/redbook_alpha3D.py Lines: 104, 105, 140
OpenGLContext tests/glut_font.py Lines: 26
OpenGLContext tests/redbook_surface_cb.py Lines: 84, 85
OpenGLContext tests/redbook_trim.py Lines: 94, 95
OpenGLContext tests/dek_texturesurf.py Lines: 44, 52, 61, 62, 63
OpenGLContext tests/glhistogram.py Lines: 43
OpenGLContext tests/wx_font.py Lines: 27
OpenGLContext tests/nehe8.py Lines: 74, 75, 105, 125, 128
OpenGL-Demo PyOpenGL-Demo/tom/conechecker.py Lines: 32, 49, 50, 52
OpenGL-Demo PyOpenGL-Demo/tom/conesave.py Lines: 32, 33
OpenGL-Demo PyOpenGL-Demo/tom/poly.py Lines: 52
OpenGL-Demo PyOpenGL-Demo/tom/cone.py Lines: 28, 29, 31
OpenGL-Demo PyOpenGL-Demo/tom/lorentz.py Lines: 52
OpenGL-Demo PyOpenGL-Demo/tom/demo.py Lines: 70
OpenGL-Demo PyOpenGL-Demo/tom/checker.py Lines: 32
OpenGL-Demo PyOpenGL-Demo/tom/fog.py Lines: 48, 53, 54, 55, 56, 57
OpenGL-Demo PyOpenGL-Demo/tom/arraytest.py Lines: 39
OpenGL-Demo PyOpenGL-Demo/tom/Line.py Lines: 31
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson26.py Lines: 57, 61, 66, 67, 102, 104, 105, 148, 156, 161, 178, 185
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson11.py Lines: 34
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson18.py Lines: 112, 116, 129, 202
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 359, 362
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson19.py Lines: 91, 97
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 178, 182, 187
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson16.py Lines: 48, 52, 82
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson4.py Lines: 67
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 161, 171, 173, 179, 322, 347
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson2.py Lines: 57
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson12.py Lines: 37, 40, 41, 42
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 118
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson23.py Lines: 57, 61, 152, 153
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson5.py Lines: 70
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson3.py Lines: 57
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson1.py Lines: 57
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6.py Lines: 88, 92
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson6-multi.py Lines: 115, 119, 126
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson48/Lesson48.py Lines: 37, 47, 48, 50
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/glFreeType.py Lines: 274, 276
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson43/lesson43.py Lines: 67, 68
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glFont.py Lines: 70, 71, 91
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/lesson44.py Lines: 142, 190, 192, 193
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson44/glCamera.py Lines: 547, 550, 650
OpenGL-Demo PyOpenGL-Demo/redbook/lines.py Lines: 86
OpenGL-Demo PyOpenGL-Demo/redbook/scene.py Lines: 82, 83, 84
OpenGL-Demo PyOpenGL-Demo/redbook/movelight.py Lines: 86, 87, 88, 109
OpenGL-Demo PyOpenGL-Demo/redbook/fog.py Lines: 78, 80, 81, 90
OpenGL-Demo PyOpenGL-Demo/redbook/teapots.py Lines: 81, 82, 83, 84, 85
OpenGL-Demo PyOpenGL-Demo/GLE/maintest.py Lines: 53, 65, 68, 69, 71
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 60
OpenGL-Demo PyOpenGL-Demo/GLUT/shader_test.py Lines: 28
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 224, 225, 226, 227, 248
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 43, 44, 46, 143
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/cone.py Lines: 44, 45, 49
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 56
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/checker.py Lines: 43, 83, 116
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/text.py Lines: 39, 40, 75, 76
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/arraytest.py Lines: 52
OpenGL-Demo PyOpenGL-Demo/dek/tile.py Lines: 74
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/triangle.py Lines: 37, 39, 51, 52, 56, 110
OpenGL-Demo PyOpenGL-Demo/dek/OglSurface/OglFrame.py Lines: 75, 76
OpenGL-Demo PyOpenGL-Demo/proesch/stereo/stereoDemo.py Lines: 105, 107, 108
OpenGL-Demo PyOpenGL-Demo/proesch/bezier/bezier.py Lines: 116, 118, 119, 129, 130
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 167, 169, 170, 178
Glinter Core.py Lines: 208, 248
Glinter Widget.py Lines: 42, 43, 44, 46, 566, 568, 569, 571, 647, 649, 651, 653
{Artistic License} PymmLib applications/glutviewer.py Lines: 74, 181, 183, 185, 188, 195
{Artistic License} PymmLib mmLib/OpenGLDriver.py Lines: 155, 157, 170, 187, 192, 197, 203, 208, 275, 315, 348, 460, 495
pyBzEdit pyBzEdit.py Lines: 430, 431
{LGPL} PyUI tests/testcube.py Lines: 71, 72
{LGPL} PyUI pyui/renderers/openglBase.py Lines: 181, 219, 261, 317, 319
{LGPL} PyUI pyui/renderers/openglPygame.py Lines: 307
{LGPL} PyUI2 renderers/openglBase.py Lines: 181, 219, 261, 317, 319
{LGPL} PyUI2 renderers/openglPygame.py Lines: 310
{LGPL} PyUI2 system/openglgraphics.py Lines: 153, 195, 197, 362
{LGPL} VisionEgg VisionEgg/Gratings.py Lines: 322, 341, 345, 632, 636, 639, 645
{LGPL} VisionEgg VisionEgg/SphereMap.py Lines: 281, 283, 503, 504, 505, 790, 791, 1198, 1199, 1200
{LGPL} VisionEgg VisionEgg/MoreStimuli.py Lines: 123, 158, 161, 241, 245, 323, 363, 366, 501, 504
{LGPL} VisionEgg VisionEgg/Text.py Lines: 334, 336
{LGPL} VisionEgg VisionEgg/Dots.py Lines: 179, 181, 246
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 1293, 1451, 1454, 1457, 1583, 1587, 1600, 1757, 1758, 1759
{GPL} GLChess src/lib/scene/opengl/opengl.py Lines: 372, 373, 377, 378, 380, 381, 567, 718, 719, 731, 821, 890
{LGPL} Pyggel pyggel/misc.py Lines: 26
{LGPL} Pyggel pyggel/particle.py Lines: 277
{LGPL} Pyggel pyggel/view.py Lines: 158, 159, 162, 163, 165, 168, 170, 189, 208, 244, 305, 323, 334
{LGPL} Pyggel pyggel/scene.py Lines: 128, 168, 170, 201
{LGPL} Pyggel pyggel/font.py Lines: 1008
{LGPL} Pyggel pyggel/light.py Lines: 44
{LGPL} Pyggel pyggel/image.py Lines: 176
{LGPL} Pyggel pyggel/data.py Lines: 554, 616
{LGPL} Pyggel pyggel/geometry.py Lines: 342, 344, 495
{LGPL} pygl2d pygl2d/draw.py Lines: 33, 42, 50, 63, 71, 81, 113
{LGPL} pygl2d pygl2d/window.py Lines: 55, 58, 62, 63
{GPL} Scocca scocca/graphics/opengl/decorators.py Lines: 23, 38
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube_controlled.py Lines: 70
{LGPL or GPL or MPL} Kamaelia Sketches/THF/simplecube/simplecube.py Lines: 18
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 460, 467, 815, 854, 877
{LGPL or GPL or MPL} Kamaelia Sketches/THF/Packages/Kamaelia/Community/THF/Kamaelia/UI/OpenGL/Label.py Lines: 144, 203
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Progress3D.py Lines: 213
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/PygameWrapperPlane.py Lines: 144
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Button3D.py Lines: 133, 213, 240
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/TexPlane.py Lines: 136, 232
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 136, 141, 445, 460, 493
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Scrollbar3D.py Lines: 263
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/PygameWrapperPlane.py Lines: 71
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/TexPlane.py Lines: 53, 95
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 145, 491, 505, 544
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Button.py Lines: 101, 169
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 460, 467, 816, 855, 878
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 188
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Label.py Lines: 144, 203
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/TexPlane.py Lines: 93, 135
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 137
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/Button.py Lines: 173, 266
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Examples/simplecube/simplecube.py Lines: 18
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Progress3D.py Lines: 213
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/PygameWrapperPlane.py Lines: 144
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Button3D.py Lines: 133, 213, 240
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/TexPlane.py Lines: 136, 232
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 136, 141, 445, 460, 493
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Scrollbar3D.py Lines: 263
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/TexPlane.py Lines: 53, 95
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 145, 491, 505, 544
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Button.py Lines: 101, 169
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Utils/Particles3D.py Lines: 116, 215, 278, 319
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Cubes.py Lines: 56, 64, 74, 248, 252, 255
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/Experiments/Spheres.py Lines: 36, 41, 57, 58, 59
{LGPL or GPL or MPL} Kamaelia Sketches/MPS/Old/SoC/simplecube.py Lines: 46
{LGPL or GPL or MPL} Kamaelia Sketches/MH/OpenGL/3dFolding.py Lines: 112, 168
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 460, 467, 815, 854, 877
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/PygameWrapper.py Lines: 188
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Label.py Lines: 144, 203
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/TexPlane.py Lines: 93, 135
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/ProgressBar.py Lines: 137
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/Button.py Lines: 169, 255
Previous: glEdgeFlagPointer Table of Contents (GL) Next: glEnableClientState