Documentation / @ripl/3d / MeshSubmission
Interface: MeshSubmission
Defined in: 3d/src/core/context.ts:78
A mesh submission queued for a single frame.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
indices | Uint32Array | Triangle indices into the vertex buffer. | 3d/src/core/context.ts:82 |
modelMatrix | Matrix4 | The model matrix transforming the mesh from local to world space. | 3d/src/core/context.ts:84 |
normalMatrix | Matrix4 | The matrix transforming surface normals into world space. | 3d/src/core/context.ts:86 |
vertices | Float32Array | Interleaved vertex data (position, normal, and colour) for the mesh. | 3d/src/core/context.ts:80 |