Struct gltf::gltf::Gltf [] [src]

pub struct Gltf { /* fields omitted */ }

A loaded glTF complete with its data.

Methods

impl Gltf
[src]

Constructs the Gltf wrapper from JSON.

Converts Gltf into Loaded<Gltf>.

Returns an Iterator that visits the accessors of the glTF asset.

Returns an Iterator that visits the animations of the glTF asset.

Returns an Iterator that visits the pre-loaded buffers of the glTF asset.

Returns an Iterator that visits the pre-loaded buffer views of the glTF asset.

Returns an Iterator that visits the cameras of the glTF asset.

Returns an Iterator that visits the pre-loaded images of the glTF asset.

Returns an Iterator that visits the materials of the glTF asset.

Returns an Iterator that visits the meshes of the glTF asset.

Returns an Iterator that visits the nodes of the glTF asset.

Returns an Iterator that visits the scenes of the glTF asset.

Returns an Iterator that visits the samplers of the glTF asset.

Returns an Iterator that visits the skins of the glTF asset.

Returns an Iterator that visits the textures of the glTF asset.

Methods from Deref<Target = Root>

Returns the internal JSON item.

Returns the extensions referenced in this .gltf file.

Returns the extensions required to load and render this asset.

Trait Implementations

impl<'a> Debug for Gltf
[src]

Formats the value using the given formatter.

impl<'a> Deref for Gltf
[src]

The resulting type after dereferencing

The method called to dereference a value