update_index_buffer

update_index_buffer(data, buffer)[source]

Update an index buffer with new data.

Parameters
data: list[int]

A flat list of ints.

bufferint

The ID of the buffer.

Returns
None