picogl.tests.test_glmesh_draw_after_cpu_delete

GLMesh.draw must use uploaded GPU counts after MeshData.delete().

Functions

test_draw_after_cpu_mesh_delete_uses_uploaded_index_count() → None

Sheet-style path: copy into GLMesh, drop CPU arrays, then upload/draw.

test_draw_mode_override_with_cpu_mesh_intact() → None

Gizmo path: attached CPU MeshData still honors GLMesh.draw(mode=LINES).

Module Contents

picogl.tests.test_glmesh_draw_after_cpu_delete.test_draw_after_cpu_mesh_delete_uses_uploaded_index_count() → None[source]

Sheet-style path: copy into GLMesh, drop CPU arrays, then upload/draw.

picogl.tests.test_glmesh_draw_after_cpu_delete.test_draw_mode_override_with_cpu_mesh_intact() → None[source]

Gizmo path: attached CPU MeshData still honors GLMesh.draw(mode=LINES).