Mesh geometry-commit concern — the Mesh sibling of
commit-points-geometry.ts / commit-lines-geometry.ts /
commit-gsplats-geometry.ts.
Much shorter than the other three, and the reasons are structural rather than
"less finished":
No pooled mesh buffers. The pool recycles instanced-quad attribute
buffers whose capacity churns as slice queries return different counts.
Mesh buffers are not reused, but their committed bytes are registered for
the shared resident-byte budget (pool-stats.ts still lists the three
instanced types only).
No capacity clamp. Mesh's element ordinal is gl_VertexID, not an
element-texture texel, so it is bounded by MAX_MESH_VERTICES at the loader's
Stage-1 preflight instead of by texture dimensions here.
Depth-sort registration IS shared, though both halves of the payload differ from
the instanced types': a triangle's "center" is its vertex centroid, and the
resolved ordering permutes geometry.index rather than an aSortedIndex
indirection (rendering/depth-sort-coordinator/triangle-ordering.ts).
What remains is: find the placeholder by name, update its geometry in place,
apply the epoch's material side, and register the epoch with the depth-sort
coordinator.
Mesh geometry-commit concern — the Mesh sibling of
commit-points-geometry.ts/commit-lines-geometry.ts/commit-gsplats-geometry.ts.Much shorter than the other three, and the reasons are structural rather than "less finished":
pool-stats.tsstill lists the three instanced types only).gl_VertexID, not an element-texture texel, so it is bounded byMAX_MESH_VERTICESat the loader's Stage-1 preflight instead of by texture dimensions here.Depth-sort registration IS shared, though both halves of the payload differ from the instanced types': a triangle's "center" is its vertex centroid, and the resolved ordering permutes
geometry.indexrather than anaSortedIndexindirection (rendering/depth-sort-coordinator/triangle-ordering.ts).What remains is: find the placeholder by name, update its geometry in place, apply the epoch's material
side, and register the epoch with the depth-sort coordinator.