EllipseObject.update_buffer_from_data
- EllipseObject.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_positionsbool
Whether to update positions in the buffer dict
- update_colorsbool
Whether to update colors in the buffer dict
- update_elementsbool
Whether to update elements in the buffer dict