psychopy.tools.gltools.disableVertexAttribArray

psychopy.tools.gltools.disableVertexAttribArray(index, legacy=False)[source]

Disable a vertex attribute array.

Parameters
  • index (int) – Index of the attribute to enable. If legacy=True, this value should be a GLenum type corresponding to the capability to bind the buffer to, such as GL_VERTEX_ARRAY, GL_TEXTURE_COORD_ARRAY, GL_NORMAL_ARRAY, etc.

  • legacy (bool, optional) – Use legacy vertex attributes (ie. GL_VERTEX_ARRAY, GL_TEXTURE_COORD_ARRAY, etc.) for backwards compatibility.


Back to top