picogl.backend.modern.core.elements.draw ======================================== .. py:module:: picogl.backend.modern.core.elements.draw Functions --------- .. autoapisummary:: picogl.backend.modern.core.elements.draw.draw_elements Module Contents --------------- .. py:function:: draw_elements(vao: int, index_count: int, mode: int = GL_LINES, index_type: int = GL_UNSIGNED_INT) Helper method to bind a VAO and draw its elements. :param vao: Vertex Array Object to bind :param index_count: Number of indices to draw :param mode: Drawing gl_mode (e.g., GL_LINES, GL_TRIANGLES) :param index_type: Type of indices (e.g., GL_UNSIGNED_INT)