Struct gltf::Document[][src]

pub struct Document(_);

glTF JSON wrapper.

Methods

impl Document
[src]

Loads glTF from pre-deserialized JSON.

Loads glTF from pre-deserialized JSON without performing validation checks.

Unwraps the glTF document.

Important traits for Accessors<'a>

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

Important traits for Animations<'a>

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

Important traits for Buffers<'a>

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

Important traits for Cameras<'a>

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

Returns the default scene, if provided.

Important traits for ExtensionsUsed<'a>

Returns the extensions referenced in this .document file.

Important traits for ExtensionsRequired<'a>

Returns the extensions required to load and render this asset.

Important traits for Images<'a>

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

Important traits for Materials<'a>

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

Important traits for Meshes<'a>

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

Important traits for Nodes<'a>

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

Important traits for Samplers<'a>

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

Important traits for Scenes<'a>

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

Important traits for Skins<'a>

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

Important traits for Textures<'a>

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

Important traits for Views<'a>

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

Trait Implementations

impl Clone for Document
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Document
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Document

impl Sync for Document