glEnableClientState

enable or disable client-side capability

Signature

glDisableClientState( GLenum ( cap ) )-> void
glDisableClientState( array )
glEnableClientState( GLenum ( cap ) )-> void
glEnableClientState( array )

Parameters

VariablesDescription
cap
Specifies the capability to enable. Symbolic constants GL_COLOR_ARRAY , GL_EDGE_FLAG_ARRAY , GL_FOG_COORD_ARRAY , GL_INDEX_ARRAY , GL_NORMAL_ARRAY , GL_SECONDARY_COLOR_ARRAY , GL_TEXTURE_COORD_ARRAY , and GL_VERTEX_ARRAY are accepted.

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.

glDisableClientState
OpenGLContext tests/shader_3.py Lines: 174, 175
OpenGLContext tests/shader_2.py Lines: 187, 188
OpenGLContext tests/ilsstrategies.py Lines: 38
OpenGLContext tests/shader_1.py Lines: 276
OpenGLContext OpenGLContext/scenegraph/spherebackground.py Lines: 58, 59
OpenGLContext OpenGLContext/scenegraph/pointset.py Lines: 80, 89
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 35, 167
OpenGLContext OpenGLContext/shadow/volume.py Lines: 289, 298, 308
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 457, 458
OpenGL-Demo PyOpenGL-Demo/da/dots.py Lines: 60
{LGPL} Pyggel pyggel/data.py Lines: 262, 263, 264, 265, 388, 389, 390, 391
Gloopy gloopy/view/render.py Lines: 164, 165
Visvis wibjects/colorWibjects.py Lines: 558, 758
Visvis wibjects/sliders.py Lines: 356, 413
Visvis utils/cropper.py Lines: 414, 436
Visvis core/axises.py Lines: 810, 841, 2037
Visvis core/line.py Lines: 699, 804, 851
Visvis core/baseWibjects.py Lines: 200
Visvis wobjects/polygonalModeling.py Lines: 1070, 1071, 1072, 1073
Visvis wobjects/textures.py Lines: 968, 969
Visvis functions/boxplot.py Lines: 335
Visvis functions/bar.py Lines: 181
Visvis text/text_base.py Lines: 267, 268
glEnableClientState
OpenGLContext tests/gldrawelements_string.py Lines: 24
OpenGLContext tests/gldrawarrays.py Lines: 18, 19
OpenGLContext tests/gldrawelements.py Lines: 18
OpenGLContext tests/shader_3.py Lines: 167, 168
OpenGLContext tests/shader_sphere.py Lines: 88, 89, 90, 100, 101, 102
OpenGLContext tests/shader_2.py Lines: 145, 146
OpenGLContext tests/shader_2_c_void_p.py Lines: 59, 60
OpenGLContext tests/gldrawelements_list.py Lines: 54
OpenGLContext tests/line_stipple.py Lines: 34, 35
OpenGLContext tests/glarrayelement.py Lines: 19, 20
OpenGLContext tests/gldrawarrays_string.py Lines: 16, 17
OpenGLContext tests/ilsstrategies.py Lines: 29
OpenGLContext tests/shader_1.py Lines: 258
OpenGLContext OpenGLContext/scenegraph/box.py Lines: 36, 38, 41
OpenGLContext OpenGLContext/scenegraph/spherebackground.py Lines: 41, 42
OpenGLContext OpenGLContext/scenegraph/pointset.py Lines: 50, 67
OpenGLContext OpenGLContext/scenegraph/arraygeometry.py Lines: 146, 152, 157, 165
OpenGLContext OpenGLContext/scenegraph/quadrics.py Lines: 48, 52, 55
OpenGLContext OpenGLContext/scenegraph/indexedpolygons.py Lines: 29, 39, 54, 63, 77, 96, 115, 128
OpenGLContext OpenGLContext/scenegraph/text/toolsfont.py Lines: 22, 162
OpenGLContext OpenGLContext/shadow/volume.py Lines: 284, 296, 304
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/arraytest.py Lines: 42, 43
OpenGL-Demo PyOpenGL-Demo/tom/arraytest.py Lines: 54, 55
OpenGL-Demo PyOpenGL-Demo/tom/poly.py Lines: 56, 57
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 423, 424
OpenGL-Demo PyOpenGL-Demo/da/dots.py Lines: 58
{LGPL} Pyggel pyggel/data.py Lines: 250, 251, 252, 253, 370, 374, 378, 382
Gloopy gloopy/view/render.py Lines: 159, 160
Visvis wibjects/colorWibjects.py Lines: 536, 755
Visvis wibjects/sliders.py Lines: 349, 410
Visvis utils/cropper.py Lines: 369, 424
Visvis core/axises.py Lines: 785, 828, 2018
Visvis core/line.py Lines: 665, 729, 821
Visvis core/baseWibjects.py Lines: 197
Visvis wobjects/polygonalModeling.py Lines: 951, 955, 969, 976, 986
Visvis wobjects/textures.py Lines: 959, 960
Visvis functions/boxplot.py Lines: 331
Visvis functions/bar.py Lines: 152
Visvis text/text_base.py Lines: 253, 254
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 154, 155, 156, 157
{GPL3} OpenGL-Programmable 03-array.py Lines: 79, 80, 81, 82
{GPL3} OpenGL-Programmable 05-shader.py Lines: 146, 147, 148, 149
{GPL3} OpenGL-Programmable 04-vbo.py Lines: 80, 81, 82, 83