24 #ifndef PXR_USD_USD_UTILS_FLATTEN_LAYER_STACK_H 25 #define PXR_USD_USD_UTILS_FLATTEN_LAYER_STACK_H 33 #include "pxr/usd/usdUtils/api.h" 37 PXR_NAMESPACE_OPEN_SCOPE
68 const std::string& tag = std::string());
78 const SdfLayerHandle& sourceLayer,
79 const std::string& assetPath)>;
112 const std::string& tag = std::string());
123 const SdfLayerHandle& sourceLayer,
124 const std::string& assetPath);
127 PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
USDUTILS_API SdfLayerRefPtr UsdUtilsFlattenLayerStack(const UsdStagePtr &stage, const std::string &tag=std::string())
Flatten the root layer stack of the given stage into a single layer with the given optional tag.
USDUTILS_API std::string UsdUtilsFlattenLayerStackResolveAssetPath(const SdfLayerHandle &sourceLayer, const std::string &assetPath)
The default UsdUtilsResolvePathFn used by UsdUtilsFlattenLayerStack.
std::function< std::string(const SdfLayerHandle &sourceLayer, const std::string &assetPath)> UsdUtilsResolveAssetPathFn
Callback function for overloaded version of UsdUtilsFlattenLayerStack.