Skip to content

Documentation / @ripl/3d / MeshSubmission

Interface: MeshSubmission

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

A mesh submission queued for a single frame.

Properties

PropertyTypeDescriptionDefined in
indicesUint32ArrayTriangle indices into the vertex buffer.3d/src/core/context.ts:82
modelMatrixMatrix4The model matrix transforming the mesh from local to world space.3d/src/core/context.ts:84
normalMatrixMatrix4The matrix transforming surface normals into world space.3d/src/core/context.ts:86
verticesFloat32ArrayInterleaved vertex data (position, normal, and colour) for the mesh.3d/src/core/context.ts:80