ensureBuildingExists

open fun ensureBuildingExists(buildingId: Int)

Materializes a deferred building's BuildingLayers on-demand. Called by LayerVisibilityHandler when a building enters the viewport. If the building is already set up or has no deferred info, this is a no-op.

Parameters

buildingId

the building to materialize