24 #ifndef PXR_USD_USD_FLATTEN_UTILS_H 25 #define PXR_USD_USD_FLATTEN_UTILS_H 32 #include "pxr/usd/usd/api.h" 37 PXR_NAMESPACE_OPEN_SCOPE
67 const std::string& tag = std::string());
77 const SdfLayerHandle& sourceLayer,
78 const std::string& assetPath)>;
111 const std::string& tag = std::string());
122 const SdfLayerHandle& sourceLayer,
123 const std::string& assetPath);
126 PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
USD_API SdfLayerRefPtr UsdFlattenLayerStack(const PcpLayerStackRefPtr &layerStack, const std::string &tag=std::string())
Flatten layerStack into a single layer with the given optional tag.
USD_API std::string UsdFlattenLayerStackResolveAssetPath(const SdfLayerHandle &sourceLayer, const std::string &assetPath)
The default UsdUtilsResolvePathFn used by UsdUtilsFlattenLayerStack.
std::function< std::string(const SdfLayerHandle &sourceLayer, const std::string &assetPath)> UsdFlattenResolveAssetPathFn
Callback function for overloaded version of UsdFlattenLayerStack.