Expand description
§glTF Data Model Definitions
This module contains the core data structures that represent a glTF 2.0 document. These structures match the JSON schema defined in the glTF 2.0 specification.
The structures in this module are designed to be serialized to JSON using serde, with optional fields that are skipped when None to produce valid glTF JSON.
Structs§
- Accessor
- Represents a glTF accessor
- Animation
- Represents a glTF animation
- Animation
Channel - Represents a glTF animation channel
- Animation
Channel Target - Represents a glTF animation channel target
- Animation
Sampler - Represents a glTF animation sampler
- Asset
- Represents the glTF asset information
- Buffer
- Represents a glTF buffer
- Buffer
View - Represents a glTF buffer view
- Gltf
- Represents a complete glTF 2.0 document
- Image
- Represents a glTF image
- Material
- Represents a glTF material
- Material
Extensions - Represents material extensions for glTF
- Mesh
- Represents a glTF mesh
- Node
- Represents a glTF node
- Normal
Texture Info - Represents normal texture reference information
- Occlusion
Texture Info - Represents occlusion texture reference information
- PbrMetallic
Roughness - Represents a glTF PBR material
- PbrSpecular
Glossiness - Represents a glTF specular-glossiness PBR material extension
- Primitive
- Represents a glTF mesh primitive
- Sampler
- Represents a glTF sampler
- Scene
- Represents a glTF scene
- Texture
- Represents a glTF texture
- Texture
Info - Represents basic texture reference information