7#ifndef PXR_USD_SDF_LAYER_TREE_H
8#define PXR_USD_SDF_LAYER_TREE_H
13#include "pxr/usd/sdf/api.h"
19PXR_NAMESPACE_OPEN_SCOPE
24typedef std::vector<SdfLayerTreeHandle> SdfLayerTreeHandleVector;
47 New(
const SdfLayerHandle & layer,
48 const SdfLayerTreeHandleVector & childTrees,
52 SDF_API
const SdfLayerHandle &
GetLayer()
const;
62 const SdfLayerTreeHandleVector & childTrees,
66 const SdfLayerHandle _layer;
68 const SdfLayerTreeHandleVector _childTrees;
71PXR_NAMESPACE_CLOSE_SCOPE
A scene description container that can combine with other such containers to form simple component as...
Represents a time offset and scale between layers.
A SdfLayerTree is an immutable tree structure representing a sublayer stack and its recursive structu...
SDF_API const SdfLayerTreeHandleVector & GetChildTrees() const
Returns the children of this tree node.
static SDF_API SdfLayerTreeHandle New(const SdfLayerHandle &layer, const SdfLayerTreeHandleVector &childTrees, const SdfLayerOffset &cumulativeOffset=SdfLayerOffset())
Create a new layer tree node.
SDF_API const SdfLayerHandle & GetLayer() const
Returns the layer handle this tree node represents.
SDF_API const SdfLayerOffset & GetOffset() const
Returns the cumulative layer offset from the root of the tree.
Enable a concrete base class for use with TfRefPtr.
Reference-counted smart pointer utility class.
Enable a concrete base class for use with TfWeakPtr.