picogl.backend.gl.api.vertex.arrays.bind ======================================== .. py:module:: picogl.backend.gl.api.vertex.arrays.bind .. autoapi-nested-parse:: Binds a vertex array object for subsequent OpenGL operations. This function wraps the `glBindVertexArray` function provided by OpenGL, allowing the caller to bind a vertex array object identified by its integer ID. Binding a vertex array object makes it the active array object for rendering and other OpenGL operations. :param vao: The identifier of the vertex array object to bind. Must be a non-negative integer. :type vao: int :raises AssertionError: If `vao` is None or a negative value. Functions --------- .. autoapisummary:: picogl.backend.gl.api.vertex.arrays.bind.gl_bind_vertex_array Module Contents --------------- .. py:function:: gl_bind_vertex_array(vao: int) -> None Binds a vertex array object (VAO) in OpenGL. This function wraps the OpenGL `glBindVertexArray` function to bind a specific VAO for subsequent OpenGL operations. Parameters: vao: int The ID of the vertex array object to bind. Must not be None and must be a non-negative integer.