CutScratch
Defined in: network/lod.ts:2619
Reusable scratch for cut (#213) — engine-owned so a zoom/pan frame allocates nothing
steady-state: the frontier output, the DFS stack, and its parallel cross-fade alpha stack are
grow-on-demand typed arrays reused across frames. The returned frontier is a subarray view
of frontier, valid until the next cut with the same scratch — every per-frame consumer
re-selects before reading, so one scratch per engine serves all paths.
Properties
Section titled “Properties”alpha:
Float64Array
Defined in: network/lod.ts:2625
Inherited cross-fade multiplier (#133), parallel to stack — only touched when fading.
culled
Section titled “culled”culled:
Uint32Array
Defined in: network/lod.ts:2627
With CutOptions.recordCulled: the culled subtree roots of the last cut, culled[0 .. culledCount).
culledCount
Section titled “culledCount”culledCount:
number
Defined in: network/lod.ts:2628
frontier
Section titled “frontier”frontier:
Uint32Array
Defined in: network/lod.ts:2621
Emitted frontier ids; only the returned subarray(0, n) prefix is valid per call.
split:
Uint32Array
Defined in: network/lod.ts:2631
With CutOptions.recordCulled: the nodes the last cut both drew and expanded (a cross-fade
band), split[0 .. splitCount). Empty without a fade.
splitCount
Section titled “splitCount”splitCount:
number
Defined in: network/lod.ts:2632
stack:
Uint32Array
Defined in: network/lod.ts:2623
DFS stack of pending tree-node ids (only a call-local prefix is live).