Skip to content

Documentation / @ripl/3d / MeshSubmission

Interface: MeshSubmission ​

Defined in: 3d/src/core/context.ts:135

A mesh submission queued for a single frame.

Properties ​

PropertyTypeDescriptionDefined in
indicesUint32ArrayTriangle indices into the vertex buffer.3d/src/core/context.ts:139
materialResolvedMaterialThe resolved material the mesh is shaded with.3d/src/core/context.ts:145
modelMatrixMatrix4The model matrix transforming the mesh from local to world space.3d/src/core/context.ts:141
normalMatrixMatrix4The matrix transforming surface normals into world space.3d/src/core/context.ts:143
verticesFloat32ArrayInterleaved vertex data (position, normal, and color) for the mesh.3d/src/core/context.ts:137