picogl.backend.gl.api.vertex.arrays.generate
Provides a wrapper for the OpenGL function glGenVertexArrays.
This module defines a simple function that returns the OpenGL glGenVertexArrays function or a Callable that allows for its usage, enabling creation of vertex array objects. It relies on the PyOpenGL library and the OpenGL.GL module for implementation.
Functions
|
Returns the glGenVertexArrays function or a callable implementing its behavior. |
Module Contents
- picogl.backend.gl.api.vertex.arrays.generate.gl_gen_vertex_arrays() Callable[..., Any] | Any[source]
Returns the glGenVertexArrays function or a callable implementing its behavior.
This function serves as a proxy to access OpenGL’s glGenVertexArrays functionality. It can be used to generate one or more vertex array object names.
- Returns:
The glGenVertexArrays function or a callable equivalent providing its functionality.
- Return type:
Callable[…, Any] | Any