24#ifndef PXR_USD_SDF_LAYER_TREE_H
25#define PXR_USD_SDF_LAYER_TREE_H
30#include "pxr/usd/sdf/api.h"
36PXR_NAMESPACE_OPEN_SCOPE
41typedef std::vector<SdfLayerTreeHandle> SdfLayerTreeHandleVector;
64 New(
const SdfLayerHandle & layer,
65 const SdfLayerTreeHandleVector & childTrees,
69 SDF_API
const SdfLayerHandle &
GetLayer()
const;
79 const SdfLayerTreeHandleVector & childTrees,
83 const SdfLayerHandle _layer;
85 const SdfLayerTreeHandleVector _childTrees;
88PXR_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.