Skip to main content

Crate openusd_schemas

Crate openusd_schemas 

Source
Expand description

Typed views for USD’s standard schemas, over a composed Stage.

Ask a Mesh for its points, a Camera for its focal length, a Material for the shader on its surface output, a Skeleton for its joints and skinning weights — as Rust types, rather than by attribute name and hand decoding. Every view authors as well as reads.

Each sub-module is feature-gated so callers only compile what they need:

FeatureModuleStatus
geomgeomUsdGeom reader (cross-cutting Imageable / Boundable today; full surface incoming).
physicsphysicsUsdPhysics reader (8 prim types, 7 single-apply APIs, multi-apply LimitAPI / DriveAPI).
skelskelUsdSkel trait-views (SkelRoot / Skeleton as geom Boundable, SkelAnimation / BlendShape typed, SkelBindingAPI single-apply) + skinning toolkit (Topology, AnimMapper, SkeletonResolver, SkinningResolver, pure-math LBS); builds on the geom trait chain.
luxluxUsdLux trait-views (8 concrete light prims + LightFilter + LightAPI / ShapingAPI / ShadowAPI / LightListAPI); builds on the geom trait chain.
shadeshadeUsdShade trait-views (Shader / NodeGraph / Material via the Connectable interface, MaterialBindingAPI, UsdPreviewSurface reader).
renderrenderUsdRender trait-views (RenderSettings / Product via the RenderSettingsBase interface, Var / Pass / DenoisePass) + the computed render spec.
uiuiUsdUI trait-views (typed Backdrop + single-apply SceneGraphPrimAPI / NodeGraphNodeAPI).
volvolUsdVol trait-views (Volume + OpenVDBAsset / Field3DAsset); builds on the geom trait chain.
mediamediaUsdMedia trait-views (SpatialAudio + AssetPreviewsAPI); builds on the geom trait chain.
procprocUsdProc trait-view (GenerativeProcedural, a geom::Boundable); builds on the geom trait chain.

These views read and author opinions; the property fallbacks a schema declares come from openusd::usd::SchemaRegistry.

Modules§

geom
UsdGeom schema views.
lux
UsdLux schema views.
media
UsdMedia schema views.
physics
UsdPhysics schema views.
proc
UsdProc schema views.
render
UsdRender schema views.
shade
UsdShade schema views.
skel
UsdSkel schema views and skinning toolkit.
ui
UsdUI schema views.
vol
UsdVol schema views.

Enums§

SchemaError
Any failure a schema view can report: a schema-domain failure of its own, or a core failure (Core) from the composed queries and authoring calls the view is built on.