picogl.tests.test_glmesh_draw_after_cpu_delete ============================================== .. py:module:: picogl.tests.test_glmesh_draw_after_cpu_delete .. autoapi-nested-parse:: GLMesh.draw must use uploaded GPU counts after MeshData.delete(). Functions --------- .. autoapisummary:: picogl.tests.test_glmesh_draw_after_cpu_delete.test_draw_after_cpu_mesh_delete_uses_uploaded_index_count picogl.tests.test_glmesh_draw_after_cpu_delete.test_draw_mode_override_with_cpu_mesh_intact Module Contents --------------- .. py:function:: test_draw_after_cpu_mesh_delete_uses_uploaded_index_count() -> None Sheet-style path: copy into GLMesh, drop CPU arrays, then upload/draw. .. py:function:: test_draw_mode_override_with_cpu_mesh_intact() -> None Gizmo path: attached CPU MeshData still honors GLMesh.draw(mode=LINES).