API

Interface MeshGeometryUpdateRanges

Explicit uploads for an in-capacity update. Vertex ranges apply to every present attribute. Both lists are required; an empty list uploads nothing for that kind. Include all changed and newly added elements. Values outside the ranges must already match the GPU, including after GPU-only edits. Arrays still describe the complete active geometry for bounds, picking and recovery. They may be mutated in place: no comparison with previously retained array values is performed. Capacity growth uploads the complete geometry instead; removed index elements are cleared automatically.

interface MeshGeometryUpdateRanges {
    indices: readonly MeshGeometryRange[];
    vertices: readonly MeshGeometryRange[];
}
Index
indices: readonly MeshGeometryRange[]
vertices: readonly MeshGeometryRange[]