Tile3d

class Tile3d

Runtime tree node decoded from tileset.json. Mutated only by traversal + streaming.

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Mutated by external-tileset grafts on the fetch coroutine; read by the render thread.

Link copied to clipboard
Link copied to clipboard

Null when this tile is structural (no renderable payload). Cleared when the URI pointed at an external tileset.json and its root has been grafted into children.

Link copied to clipboard

Spec-defined geometric error in meters.

Link copied to clipboard

Original .json URI when children were grafted from an external tileset; null otherwise. Preserved so the sweep can restore the wrapper for re-fetch when the subtree is evicted.

Link copied to clipboard

When non-null, traversal materialises children via SubtreeReader.

Link copied to clipboard

Set by the traverser when finer descendants are also in selection (skip-LoD). Drives stencil masking in the draw path so fallback tiles fill only gaps.

Link copied to clipboard

Set by the traverser when the tile was accepted only as a shadow caster (outside the view frustum). The layer enqueues it occluder-only: cascade depth pass, no color pass.

Link copied to clipboard

Last frame this tile participated in traversal — read by the layer's cold-subtree sweep.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Bottom-up "children take over rendering" flag computed by the traverser.

Link copied to clipboard

Outermost-fallback subtree id (0 = no fallback ancestor → stencil bypassed; 1..255 = inside a fallback subtree). Non-fallback tiles write; fallback tiles draw where stencil != this id.

Link copied to clipboard

This tile's tile-to-world composed with all ancestors'.

Link copied to clipboard

Scratch sort key set by Traverser each frame for distance-first ordering. Direct primitive field — avoids the boxed HashMap<Tile3d, Double> lookup that showed up as Double.valueOf 271 samples on the main thread at globe scale.

Functions

Link copied to clipboard