7#ifndef PXR_USD_USD_UTILS_STITCH_H
8#define PXR_USD_USD_UTILS_STITCH_H
18#include "pxr/usd/usdUtils/api.h"
24PXR_NAMESPACE_OPEN_SCOPE
54 const SdfLayerHandle& strongLayer,
55 const SdfLayerHandle& weakLayer);
63 const SdfSpecHandle& strongObj,
64 const SdfSpecHandle& weakObj);
92 const SdfLayerHandle& strongLayer,
bool fieldInStrongLayer,
93 const SdfLayerHandle& weakLayer,
bool fieldInWeakLayer,
102 const SdfLayerHandle& strongLayer,
103 const SdfLayerHandle& weakLayer,
112 const SdfSpecHandle& strongObj,
113 const SdfSpecHandle& weakObj,
118PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
USDUTILS_API void UsdUtilsStitchInfo(const SdfSpecHandle &strongObj, const SdfSpecHandle &weakObj)
Merge the scene description for weakObj into strongObj.
USDUTILS_API void UsdUtilsStitchLayers(const SdfLayerHandle &strongLayer, const SdfLayerHandle &weakLayer)
Merge all scene description in weakLayer into strongLayer.
UsdUtilsStitchValueStatus
Status enum returned by UsdUtilsStitchValueFn describing the desired value stitching behavior.
@ UseDefaultValue
Use the default stitching behavior for this field.
@ NoStitchedValue
Don't stitch values for this field.
@ UseSuppliedValue
Use the value supplied in stitchedValue.
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.