Renderer · interface
ClusterSource
What packing needs of one mesh's clusters. MeshletLevel from MSHL satisfies it.
Explained in Hello world.
interface ClusterSourceimport type { ClusterSource } from '@driftengine/core';Properties
| Name | Type | Description |
|---|---|---|
countreadonly | number | |
triangleOffsetsreadonly | Uint32Array | |
triangleCountsreadonly | Uint32Array | |
boundsCentrereadonly | Float32Array | |
boundsRadiusreadonly | Float32Array | |
coneAxisreadonly | Float32Array | |
coneCutoffreadonly | Float32Array | The minimum dot product of any face normal against the axis — the cosine of the cone's
half-angle, as buildClusters writes it and MSHL stores it. Packing turns it into the sine
the cull is written in; see cullCutoff. |
ownErrorreadonly | Float32Array | |
parentErrorreadonly | Float32Array | |
indicesreadonly | Uint32Array |