picogl.backend.gl.api.vertex.attrib_array.disable

This module provides a function for disabling a vertex attribute array in OpenGL.

The function is a wrapper around OpenGL’s glDisableVertexAttribArray, and it disables the specified vertex attribute array based on the given index. This action can be useful when managing vertex attribute pointers while rendering graphics using OpenGL.

Functions

gl_disable_vertex_attrib_array(index) → None

Disables a generic vertex attribute array at index 0, making the corresponding index of the attribute array

Module Contents

picogl.backend.gl.api.vertex.attrib_array.disable.gl_disable_vertex_attrib_array(index: int) → None[source]

Disables a generic vertex attribute array at index 0, making the corresponding index of the attribute array unavailable for rendering operations.

Raises:

RuntimeError – If called in an invalid OpenGL context.