Loading...
Searching...
No Matches
layerUtils.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_SDF_LAYER_UTILS_H
8#define PXR_USD_SDF_LAYER_UTILS_H
9
11
12#include "pxr/pxr.h"
13#include "pxr/usd/sdf/api.h"
15#include "pxr/usd/sdf/layer.h"
16
17#include <string>
18
19PXR_NAMESPACE_OPEN_SCOPE
20
21SDF_DECLARE_HANDLES(SdfLayer);
22
32SDF_API std::string
34 const SdfLayerHandle& anchor,
35 const std::string& assetPath);
36
40SDF_API std::string
42 const SdfLayerHandle& anchor,
43 const std::string& assetPath);
44
45PXR_NAMESPACE_CLOSE_SCOPE
46
47#endif // PXR_USD_SDF_LAYER_UTILS_H
A scene description container that can combine with other such containers to form simple component as...
Definition: layer.h:84
SDF_API std::string SdfComputeAssetPathRelativeToLayer(const SdfLayerHandle &anchor, const std::string &assetPath)
Returns the path to the asset specified by assetPath, using the anchor layer to anchor the path if it...
SDF_API std::string SdfResolveAssetPathRelativeToLayer(const SdfLayerHandle &anchor, const std::string &assetPath)
Wrapper for SdfComputeAssetPathRelativeToLayer that returns the resolved assetPath.