Skip to main content

decode_triangle_mesh_gltf_json

Function decode_triangle_mesh_gltf_json 

Source
pub fn decode_triangle_mesh_gltf_json(
    json: &str,
) -> InterchangeResult<TriangleMesh>
Expand description

Decodes a SpatialRust-exported glTF JSON mesh with embedded base64 buffers.

The portable interchange boundary intentionally accepts only the minimal glTF shape emitted by export_triangle_mesh_gltf_json. It does not fetch external buffers, interpret arbitrary glTF scenes, or apply transforms.