gltf 0.2.1

glTF asset loader
Documentation

gltf

This library is intended to load .gltf files, a file format designed for the efficient transmission of 3D models. It is in its early stages of development, hence it is not fully-featured and future releases are not guaranteed to be backward compatible.

Build Status Crates.io Join the chat at https://gitter.im/alteous/gltf

Documentation

Usage

Add gltf to the dependencies section of Cargo.toml:

[dependencies]
gltf = "0.2"

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();
}

Future Goals

  • Ability to be compilied with the latest stable toolchain
  • Full conformance to the specification
  • Replace untyped GLenum identifiers with equivalent type-safe constants