24 #ifndef PXR_USD_USD_UTILS_STITCH_H 25 #define PXR_USD_USD_UTILS_STITCH_H 35 #include "pxr/usd/usdUtils/api.h" 41 PXR_NAMESPACE_OPEN_SCOPE
71 const SdfLayerHandle& strongLayer,
72 const SdfLayerHandle& weakLayer);
80 const SdfSpecHandle& strongObj,
81 const SdfSpecHandle& weakObj);
109 const SdfLayerHandle& strongLayer,
bool fieldInStrongLayer,
110 const SdfLayerHandle& weakLayer,
bool fieldInWeakLayer,
119 const SdfLayerHandle& strongLayer,
120 const SdfLayerHandle& weakLayer,
129 const SdfSpecHandle& strongObj,
130 const SdfSpecHandle& weakObj,
135 PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
Token for efficient comparison, assignment, and hashing of known strings.
A path value used to locate objects in layers or scenegraphs.
Use the default stitching behavior for this field.
std::function< UsdUtilsStitchValueStatus(const TfToken &field, const SdfPath &path, const SdfLayerHandle &strongLayer, bool fieldInStrongLayer, const SdfLayerHandle &weakLayer, bool fieldInWeakLayer, VtValue *stitchedValue)> UsdUtilsStitchValueFn
Callback for customizing how values are stitched together.
Use the value supplied in stitchedValue.
USDUTILS_API void UsdUtilsStitchLayers(const SdfLayerHandle &strongLayer, const SdfLayerHandle &weakLayer)
Merge all scene description in weakLayer into strongLayer.
Don't stitch values for this field.
USDUTILS_API void UsdUtilsStitchInfo(const SdfSpecHandle &strongObj, const SdfSpecHandle &weakObj)
Merge the scene description for weakObj into strongObj.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
UsdUtilsStitchValueStatus
Status enum returned by UsdUtilsStitchValueFn describing the desired value stitching behavior.