Skip to main content

import_triangle_mesh_gltf_json

Function import_triangle_mesh_gltf_json 

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

Imports vertex/index counts from a SpatialRust-exported glTF JSON fragment.

Full binary decode is intentionally limited to validating SpatialRust-authored payloads that embed accessors counts.