Crates.io | goth-gltf |
lib.rs | goth-gltf |
version | 0.1.1 |
source | src |
created_at | 2023-07-03 03:53:16.713127 |
updated_at | 2023-07-03 04:01:14.08236 |
description | A lightweight, low-level reader for gltf (and glb) files |
homepage | |
repository | https://github.com/expenses/goth-gltf/ |
max_upload_size | |
id | 906634 |
size | 56,724 |
Goth-gltf aims to be a low-level, unopinionated reader for gltf files.
Basic example:
let filename = std::env::args().nth(1).unwrap();
let bytes = std::fs::read(&filename).unwrap();
let (gltf, _): (
goth_gltf::Gltf<goth_gltf::default_extensions::Extensions>,
_,
) = goth_gltf::Gltf::from_bytes(&bytes).unwrap();
println!("{:#?}", gltf);
KHR_lights_punctual
KHR_materials_emissive_strength
KHR_materials_ior
KHR_materials_sheen
KHR_materials_unlit
KHR_texture_basisu
KHR_texture_transform
EXT_mesh_gpu_instancing
EXT_meshopt_compression
MSFT_lod
MSFT_screencoverage
License: MIT