Versions of the meshlet building functions that output primitive indices

Author: ds84182Created Aug 11, 2026Updated Aug 25, 2026
Labelsenhancement

Hi, I'm integrating meshoptimizer into a project that uses per-face corner (rather than per-vertex) normals (and other attributes, because of fbx things). I need to have a mapping between the meshlet triangles and the original triangles so I can lookup other attributes. Right now my only good option is to modify the code to write this out to a given buffer.