Documentation / @ripl/3d / MeshSubmission
Interface: MeshSubmission ​
Defined in: 3d/src/core/context.ts:135
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:139 |
material | ResolvedMaterial | The resolved material the mesh is shaded with. | 3d/src/core/context.ts:145 |
modelMatrix | Matrix4 | The model matrix transforming the mesh from local to world space. | 3d/src/core/context.ts:141 |
normalMatrix | Matrix4 | The matrix transforming surface normals into world space. | 3d/src/core/context.ts:143 |
vertices | Float32Array | Interleaved vertex data (position, normal, and color) for the mesh. | 3d/src/core/context.ts:137 |