pub fn load_gltf_from_buffer(
mesh_name: &str,
buffer: &[u8],
ctx: &RenderContext,
) -> Result<CpuModel, GltfImportError>
Expand description
Loads both gltf and glb into the mesh & texture manager.
pub fn load_gltf_from_buffer(
mesh_name: &str,
buffer: &[u8],
ctx: &RenderContext,
) -> Result<CpuModel, GltfImportError>
Loads both gltf and glb into the mesh & texture manager.