Optional ReadonlyindexThree indices per triangle; omit for a plain triangle list.
Optional ReadonlyindexOptional ReadonlyindexIndex of the mesh's first index in indexBuffer (not bytes). Default 0.
Readonlypositionf32 vertex positions.
Optional ReadonlypositionFloat index of vertex 0's x. Default 0.
Optional ReadonlypositionFloats from one vertex to the next. Default 3 (tightly packed).
ReadonlytriangleOptional ReadonlytriangleOne u32 per triangle, by original triangle number, from offset 0. Default 0. Only bit 0 may be set, as in MeshInput.triangleFlags; a GPU buffer is not checked.
Readonlyvertex
Geometry already on the GPU, for example a deformed vertex buffer an adapter wrote. A GPU build copies the ranges it needs into its own buffers when it is recorded, so the buffers need
COPY_SRCusage.