IFClite TypeScript API
    Preparing search index...

    Class PartitionedBatch

    Result of [IfcAPI::process_geometry_batch_partitioned]: the flat MeshCollection (transparent + type geometry) and the instanced IFNS shard (opaque ordinary occurrences) from ONE produce_batch. Take-once accessors so the JS side moves each out without a clone.

    Index
    instancedOccurrences: number

    Number of occurrences routed into the instanced shard this batch. The viewer folds this into its total mesh count so the count reflects ALL rendered geometry (flat + instanced), not just the flat MeshCollection.

    • Returns void

    • Returns void

    • The flat MeshCollection (transparent glass + type-product geometry). Moves out — call once.

      Returns MeshCollection | undefined

    • The instanced IFNS shard bytes (opaque ordinary occurrences). Moves out.

      Returns Uint8Array