Class LoadingSynchronizer

Makes sure both instanced meshes and merged meshes are requested in the right order Also decouples downloads and processing.

Constructors

Properties

done: boolean = false
getMesh: (mesh: number) => Promise<G3dMesh>
instanceAction: (mesh: G3dMesh, index: number) => void
instanceQueue: () => void[] = []
mergeAction: (mesh: G3dMesh, index: number) => void
mergeQueue: () => void[] = []
nonUniques: G3dSubset
uniques: G3dSubset

Accessors

Methods