meshoptimizer is a mesh optimization library that makes indexed meshes more GPU-friendly.
When GPU renders triangle meshes, various stages of the GPU pipeline have to process vertex and index data. The efficiency of these stages depends on the data you feed to them; this library provides algorithms to help optimize meshes for these stages, as well as algorithms to reduce the mesh complexity and storage overhead.
The library provides a C and C++ interface for all algorithms; you can use it from C/C++ or from other languages via FFI (such as P/Invoke).
- Latest version 0.7: https://github.com/zeux/meshoptimizer/releases/tag/v0.7