update_vertex_buffer

update_vertex_buffer(data, buffer)[source]

Update a vertex buffer with new data.

Parameters
data: list[float]

A flat list of floats.

bufferint

The ID of the buffer.

Returns
None