pub fn encode_mesh_v2_with(
mesh: &Mesh,
coding: MeshCoding,
) -> Result<Vec<u8>, EncodeMeshError>Expand description
Encodes mesh as a mesh chunk payload of version 2 with the given
codings.
Connectivity B needs the vertices in first-use order, every one used; the rANS coding needs no more than three vertices per triangle.