enable or disable client-side capability
Signature
glDisableClientState(
GLenum (
cap
)
)-> void
glDisableClientState(
array
)
glEnableClientState(
GLenum (
cap
)
)-> void
glEnableClientState(
array
)
Parameters
Variables | Description |
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
{LGPL} Pyggel
pyggel/data.py
Lines:
262, 263, 264, 265, 388, 389, 390, 391
glEnableClientState
{LGPL} Pyggel
pyggel/data.py
Lines:
250, 251, 252, 253, 370, 374, 378, 382
{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