ReadonlyclusterReadonlyvertexReadonlymeshletReadonlylocalReadonlyclusterReadonlyboundsReadonlyquantDequantization grid for vertexBuffer — feed to the draw-pass uniforms.
Optional ReadonlylodPer-cluster LOD-DAG records (CLUSTER_LOD_FLOATS each), present only when
built from a buildClusterDag result. Bound by the cull pass for
continuous-LOD cut selection.
ReadonlylodNumber of LOD levels (1 = single-LOD mesh, no hierarchy).
StaticfromConvenience: build single-LOD clusters from CPU geometry and upload in one
step. The vertex/index data must be the interleaved/u32 form accepted by
buildClusters (e.g. a Mesh created with keepData: true).
StaticfromUpload a cluster mesh from either a freshly-built (full) ClusterData/DAG or an already-packed PackedClusterData (e.g. from a baked asset).
Releases the owned GPU buffers.
GPU-resident clustered mesh: the four storage buffers a vertex-pulling cluster pass binds. Owns its buffers; call destroy to release them. Built from the COMPACT PackedClusterData (quantized vertex pool +
u8indices).u32/vertex; decode with quant).u8-packed).