No matching definitions.

export/gltf

src/export/gltf.tur

binary glTF 2.0 (.glb) export from an indexed mesh.

Since: Phase 4

defn

export-glb

(export-glb [mesh : int path : cstr] :)

write an indexed mesh to a binary glTF 2.0 file.

meshimesh handle from cmesh-weld
pathdestination file path WITHOUT extension (e.g. "/tmp/scene")

0 on success, -1 on failure (null handle, zero geometry, or file error).

(export-glb my-imesh "/tmp/output")  ; writes /tmp/output.glb

Since: Phase 4