MeshContent

Mesh content descriptor for one tile (b3dm / i3dm / cmpt-of-meshes / raw glTF). Thin descriptors only — bulk data (VBOs, EBOs, textures, batch-id buffers) lives in RenderContext.renderResourceCache keyed by stable strings.

Properties

Link copied to clipboard

b3dm BATCH_LENGTH. 0 for un-batched.

Link copied to clipboard

Parsed b3dm batch table for per-feature picking.

Link copied to clipboard
open override var gpuByteCount: Int

Approximate GPU footprint of this content in bytes, page-aligned by the cache.

Link copied to clipboard

i3dm per-instance transforms. Null for b3dm.

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

Tile-local bounding sphere; populated by prepareMeshPrep.

Link copied to clipboard

b3dm RTC_CENTER.

Link copied to clipboard

Skip the standard Y-up→Z-up rotation at draw time. Default false applies the spec's Rx(+90°); set true for content whose vertices are already in the tile- local frame (3D Tiles 1.1 / Google Photorealistic).

Link copied to clipboard

Populated by uploadMeshContent on the render thread.

Functions

Link copied to clipboard

True iff every mandatory buffer is still RR-cache-resident. Empty submesh lists count as loaded — placeholder tiles with no renderable primitives would otherwise re-fetch forever.

Link copied to clipboard
open override fun release(dc: DrawContext)

Drops GPU resources. Idempotent.

Link copied to clipboard

Pin every owned RR-cache resource at the head of the LRU.