#[unsafe(no_mangle)]pub unsafe extern "C" fn gltforge_export_finish(
ctx: *mut ExportContext,
path: *const c_char,
) -> u8Expand description
Build and write the .gltf and .bin files.
path is the output .gltf file path (null-terminated UTF-8).
Returns 1 on success, 0 on failure. Consumes and frees the context in both cases.
§Safety
ctx must be a valid pointer returned by gltforge_export_begin.
path must be a valid null-terminated UTF-8 string.