gl.DisableClientState(cap)
gl.DisableClientState()
disables individual client-side capabilities. By default, all client-side capabilities
are disabled. gl.DisableClientState()
takes a single argument, cap
, which can assume one of the following values:
#GL_COLOR_ARRAY
#GL_EDGE_FLAG_ARRAY
#GL_INDEX_ARRAY
#GL_NORMAL_ARRAY
#GL_TEXTURE_COORD_ARRAY
#GL_VERTEX_ARRAY
Please consult an OpenGL reference manual for more information.
#GL_INVALID_ENUM
is generated if cap
is not an accepted value.
gl.DisableClientState()
is not allowed between the execution of gl.Begin() and the corresponding gl.End(), but an error may or may not be generated. If no error is generated, the behavior is undefined.