[go: up one dir, main page]

gltf 0.1.0

glTF asset loader
Documentation

gltf

This library is intended to load .gltf files, a file format designed for the efficient transmission of 3D models.

Usage

Currently, gltf requires the lastest nightly compiler in order to build successfully. An up-to-date compiler may be obtained using rustup or from the official downloads page. A stable version of the library is planned to be available soon.

Add gltf to Cargo.toml:

[dependencies.gltf]
git = "https://github.com/Alteous/gltf.git"

Import the crate in your library or executable:

extern crate gltf;

use gltf::Gltf;

Load a glTF file:

fn main() {
    let gltf = Gltf::new("Foo.gltf").unwrap();
}