Skip to main content

Module mesh

Module mesh 

Source
Expand description

Hand-built Mesh writers using the testkit’s typed values. These are synthetic layouts, from the pinned MIT class definitions and meshdecode’s existing synthetic fixtures; no generated typetrees or input data are used.

Enums§

MeshVersion
The modern Mesh layouts this builder exercises.

Functions§

aabb
Axis-aligned bounds.
blend_channel
A named channel’s range of frames.
blend_frame
A frame’s sparse-vertex range and attribute flags.
blend_shapes
Complete BlendShapeData. Empty arrays retain their element shapes.
blend_vertex
A sparse blend-shape vertex.
compressed
An empty compressed mesh in the modern layout.
lod_info
Mesh LOD fields from the pinned class definitions. Ranges are (start, count).
matrix
A Matrix4x4f in row-major order.
mesh
A position-only Mesh with a 32-bit index buffer and one triangle-list submesh. Callers replace metadata through ngui::set_field for richer cases.
submesh
One submesh. firstByte and indexCount refer to the source index buffer.
vec3
A Vector3f of the given values.