make_vertex_buffer
- make_vertex_buffer(data, dynamic=False)[source]
Make a vertex buffer from the given data.
- Parameters:
- datalist[float]
A flat list of floats.
- dynamicbool, optional
If True, the buffer is optimized for dynamic access.
- Returns:
- int
Vertex buffer ID.