← glb · version 0.1.7
2 public items, in source order. Generated from the registry index, which re-derives them from the package source at publish time — so a signature here is the one that version actually ships.
pub fn save_glb(m: Mesh, path: text)
Export a Mesh as a GLB 2.0 file. The output file will contain POSITION, NORMAL, and TEXCOORD_0 vertex attributes plus triangle indices. Readable by Blender, three.js, gltf-validator.
pub fn save_scene_glb(sc: Scene, path: text)
Export a Scene as a GLB 2.0 file. All meshes are packed into one BIN chunk; materials use pbrMetallicRoughness.