Function rerun::external::re_renderer::importer::gltf::load_gltf_from_buffer

source ·
pub fn load_gltf_from_buffer(
    mesh_name: &str,
    buffer: &[u8],
    lifetime: ResourceLifeTime,
    ctx: &RenderContext
) -> Result<Vec<MeshInstance>, GltfImportError>
Expand description

Loads both gltf and glb into the mesh & texture manager.