[−][src]Crate shine_gltf
Modules
accessor | Contains |
animation | Contains |
asset | Contains |
buffer | Contains |
camera | Contains |
deserialize | Re-exports of |
extensions | Contains extension specific data structures and the names of all 2.0 extensions supported by the library. |
image | Contains |
material | Contains |
mesh | Contains |
path | Contains |
root | Contains |
scene | Contains |
serialize | Re-exports of |
skin | Contains |
texture | Contains |
validation | Contains functions that validate glTF JSON data against the specification. |
Macros
attribute_map | Helper to initialize an attribute map in the [ Att1 => value1, Attr2 => val2 ] form. |
optional_attribute_map | Helper to initialize an attribute map in the [ Att1 => value1, Attr2 => val2 ] form where value is an Option |
Structs
Accessor | A typed view into a buffer view. |
Animation | A keyframe animation. |
Asset | Metadata about the glTF asset. |
Buffer | A buffer points to binary data representing geometry, animations, or skins. |
Camera | A camera's projection. |
Error | This type represents all possible errors that can occur when serializing or deserializing JSON data. |
Image | Image data used to create a texture. |
Index | Represents an offset into an array of type |
Material | The material appearance of a primitive. |
Mesh | A set of primitives to be rendered. |
Node | A node in the node hierarchy. When the node contains |
Path | An immutable JSON source path. |
Primitive | Geometry to be rendered with the given material. |
Root | The root object of a glTF 2.0 asset. |
Scene | The root |
Skin | Joints and matrices defining a skin. |
Texture | A texture and its sampler. |
Enums
Value | Represents any valid JSON value. |
Traits
Get | Helper trait for retrieving top-level objects by a universal identifier. |
GetMut | Helper trait for retrieving top-level objects by a universal identifier. |