fast-mesh-wasm
    Preparing search index...

    Interface MeshChange

    What changed in one mesh since the previous Scene.takeChanges. Range lists are ascending; "all" means re-upload the whole buffer.

    interface MeshChange {
        added: boolean;
        capacityChanged: boolean;
        colors: Range[] | "all";
        fieldsChanged: FieldHandle[];
        indices: Range[] | "all";
        mesh: MeshHandle;
        normals: Range[] | "all";
        placementChanged: boolean;
        positions: Range[] | "all";
        removed: boolean;
        sectionsChanged: SectionHandle[];
        uvs?: Range[] | "all";
    }
    Index
    added: boolean

    The mesh was added; every buffer is "all".

    capacityChanged: boolean

    Its vertex or triangle slot count changed: recreate its GPU buffers. Every buffer is then "all", so upload each one whole.

    colors: Range[] | "all"

    Vertex slots.

    fieldsChanged: FieldHandle[]
    indices: Range[] | "all"

    Triangle slots.

    normals: Range[] | "all"

    Vertex slots.

    placementChanged: boolean

    Its placement changed: read Scene.matrix4 again.

    positions: Range[] | "all"

    Vertex slots.

    removed: boolean

    The mesh was removed; drop its GPU buffers. Nothing else is set.

    sectionsChanged: SectionHandle[]
    uvs?: Range[] | "all"

    Vertex slots. Only on a record of a mesh that has UVs or just lost them: "all" with views(mesh).uvs() reading null means an operation dropped them, and "all" after undo that they came back.