Skip to main content

Module model

Module model 

Source
Expand description

The loader-facing layer: clips, tracks, and the skeleton before metric resampling or repair. The glTF loader preserves authored animation values; the FBX loader normalizes scene coordinates and bakes takes to linear TRS tracks. Mechanical checks (NaN, quaternion flips, key density, …) read this layer; semantic checks read the sampled layer built from it (see crate::sample).

Structs§

AdditionalInfluenceSet
Presence metadata for one non-primary glTF skin-influence attribute set.
Bone
One skeleton node/bone in parent-before-child order.
Clip
One animation clip targeting the document skeleton.
Document
A loaded file: one skeleton, any number of clips targeting it, and the scene assets (meshes, materials, and textures) that rode in alongside them. assets is default-empty: the check catalog judges animation and ignores it, but the load/write round-trip carries it so transform and convert preserve geometry instead of silently dropping it.
MaterialAsset
PBR material factors plus optional embedded glTF texture slots.
MaterialResourceAssets
Read-only source material-resource evidence carried beside scene assets.
MeshAsset
One source mesh definition, independent of any node that instances it.
MeshInstance
One node instance of a source MeshAsset definition.
NormalTextureAsset
A normal-map texture and the scalar applied to its X/Y components.
OcclusionTextureAsset
An occlusion texture and the scalar applied to its sampled value.
Primitive
One triangle-list primitive sharing a material. Attribute arrays may be indexed already; Primitive::weld dedupes an unindexed primitive into indexed form.
SceneAsset
One declared source scene and its root nodes.
SceneAssets
Mesh definitions, their node instances, scenes, and materials carried alongside animation data.
Skeleton
Bones in topological order: a bone’s parent always precedes it. Loaders are responsible for establishing this invariant.
SourceImageAsset
One source image definition and bounded inspection result.
SourceInfo
Loader-provided provenance for a Document.
SourceInverseBindAccessor
Read-side evidence for one source skin inverse-bind declaration.
SourceMaterialAsset
One source material definition, independent of writer-facing material data.
SourceMaterialTextureBinding
One source material-to-texture binding.
SourceNodeAsset
One source-side node with stable loader identity facts.
SourceSkeletonAssets
Source-node and source-skin evidence carried beside normalized scene assets.
SourceSkinAsset
One source skin definition, kept separate from bone-level convenience data.
SourceSkinAttachment
One source node that declares use of a source skin.
SourceTextureAsset
One source texture definition.
TextureAsset
An embedded texture: raw encoded image bytes (glTF embeds the file as-is, no decoding).
Track
One animated property of one bone.
Transform
Node-local TRS transform.

Enums§

AffineDomainViolation
Stable machine-readable reason a positive-uniform affine linear part failed classification.
DecodedImageColorType
Decoded image color representation reported by inspection.
DocumentShapeError
A structural invariant violated by validate_document_shape.
ImageContainerFormat
Image container format recognized by inspection.
ImageSourceKind
How an image payload was declared by its source format.
ImageUnavailableReason
Why source-image inspection could not produce decoded metadata.
Interpolation
Interpolation mode for a Track.
MaterialResourceCoverage
Whether source material-resource inspection covers the whole input.
MaterialTextureSlot
A material texture slot with stable source-format meaning.
MeshInstanceShapeViolation
The way a mesh instance is malformed.
Property
Animated property targeted by a Track.
SourceImageInspection
Result of bounded source-image inspection.
SourceInverseBindAccessorStatus
Read status for a source skin’s inverse-bind declaration.
SourceNodeLocalRest
The source-projected local-rest representation of one source node.
SourceProjectionViolation
The way a complete source-node projection contradicts the skeleton.
SourceSkeletonCoverage
Whether a loader supplied source-node and source-skin identity evidence.
TrackShapeViolation
The way a clip track is malformed.
TrackValues
Storage for a track’s key values.

Functions§

validate_document_shape
Validate the enumerated structural snapshot strict document operations rely on.

Type Aliases§

BoneId
Index into Skeleton::bones.