@twinfinity/core
    Preparing search index...

    Class BimVertexDataRepository

    Index

    Constructors

    Accessors

    • get hasBatchSupport(): boolean

      Returns boolean

    • get sizeInBytes(): number

      Returns number

    • get wasmMemoryUsage(): {
          allocated: number;
          capacity: number;
          outputBuffers: number;
          used: number;
      }

      Returns { allocated: number; capacity: number; outputBuffers: number; used: number }

    Methods

    • Returns void

    • Returns void

    • Reads edge indices for a mesh as a freshly-allocated Uint32Array (or undefined when the mesh has no edges or is not loaded). The copy is intentional: callers are free to retain the returned array across releaseV2MeshSourcesFor / releaseV2MeshSources calls, which would otherwise detach an underlying view.

      Parameters

      • hash: string

      Returns undefined | Uint32Array<ArrayBufferLike>

    • Releases retained V2 geometry buffers after all edges have been read.

      Returns void

    • Releases retained V2 geometry buffers for a specific set of mesh hashes. Use this when several loader elements share one repository — each element releases only the hashes it consumed, so concurrent peers can still resolve their edges.

      Parameters

      • hashes: ReadonlySet<string>

      Returns void