This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
37PXR_NAMESPACE_CLOSE_SCOPE
38
39#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...