PolylineObject.update_buffer_from_data
-
PolylineObject.update_buffer_from_data(data, buffer, update_positions=True, update_colors=True, update_elements=True)[source] Update existing buffers from point/line/face data.
- Parameters
data (tuple) – Contains positions, colors, elements for the buffer
buffer (dict) – The dict with created buffer indexes
update_positions (bool) – Whether to update positions in the buffer dict
update_colors (bool) – Whether to update colors in the buffer dict
update_elements (bool) – Whether to update elements in the buffer dict