Skip to Content
APIMapInterface: Scene3DDebugStats

Interface: Scene3DDebugStats

A point-in-time snapshot of the 3D scene’s memory drivers, for profiling. Returned by the map’s 3D debug stats hook (globalThis.__mvxScene3DStats() when globalThis.__MVX_SCENE3D_DEBUG__ is set before the map loads). The Three.js counters are the best in-page proxy for GLB VRAM, which performance.memory (JS heap only) cannot see.

Properties

currentFloor

currentFloor: string

Current floor key the overlay/models are built for.


deckTileCache

deckTileCache: object

The resolved deck.gl tile-cache bounds in effect.

maxCacheByteSize?

optional maxCacheByteSize?: number;

maxCacheSize

maxCacheSize: number

maxRequests

maxRequests: number

refinementStrategy

refinementStrategy: string

deckTiles

deckTiles: Record<string, number> | null

Best-effort per-layer parsed-tile counts for the deck.gl overlay, or null if unavailable.


glbRoots

glbRoots: number

Number of distinct GLB roots resident in memory (deduped by URL).


glbTemplates

glbTemplates: number

Number of GLB asset templates resident in memory.


lodThresholds

lodThresholds: | { reloadAtOrAbove: number; unloadBelow: number; } | null;

The resolved LOD zoom boundaries, or null when LOD is disabled.


modelsUnloadedByLod

modelsUnloadedByLod: boolean

True while GLB models are unloaded by zoom-LOD (see Models3DLodConfig).


placedModels

placedModels: number

Number of placed model pivots currently in the scene.


three

three: | { geometries: number; programs: number; renderCalls: number; textures: number; triangles: number; } | null;

Three.js renderer resource counters — the GLB VRAM proxy — or null before the renderer exists.


zoom

zoom: number

Current map zoom.

Last updated on