HDK
|
#include "pxr/pxr.h"
#include "pxr/usd/pcp/api.h"
#include "pxr/usd/pcp/composeSite.h"
#include "pxr/usd/pcp/dependency.h"
#include "pxr/usd/pcp/dynamicFileFormatDependencyData.h"
#include "pxr/usd/pcp/expressionVariablesDependencyData.h"
#include "pxr/usd/pcp/errors.h"
#include "pxr/usd/pcp/iterator.h"
#include "pxr/usd/pcp/node.h"
#include "pxr/usd/pcp/types.h"
#include "pxr/usd/sdf/declareHandles.h"
#include "pxr/usd/sdf/site.h"
#include "pxr/base/tf/declarePtrs.h"
#include "pxr/base/tf/hashmap.h"
#include "pxr/base/tf/hashset.h"
#include <tbb/spin_rw_mutex.h>
#include <functional>
#include <map>
#include <memory>
#include <unordered_set>
Go to the source code of this file.
Classes | |
class | PcpPrimIndex |
class | PcpPrimIndexOutputs |
class | PcpPrimIndexInputs |
Functions | |
PXR_NAMESPACE_OPEN_SCOPE | SDF_DECLARE_HANDLES (SdfLayer) |
SDF_DECLARE_HANDLES (SdfPrimSpec) | |
TF_DECLARE_REF_PTRS (PcpLayerStack) | |
TF_DECLARE_WEAK_AND_REF_PTRS (PcpPrimIndex_Graph) | |
void | swap (PcpPrimIndex &l, PcpPrimIndex &r) |
Free function version for generic code and ADL. More... | |
PCP_API void | PcpComputePrimIndex (const SdfPath &primPath, const PcpLayerStackPtr &layerStack, const PcpPrimIndexInputs &inputs, PcpPrimIndexOutputs *outputs, ArResolver *pathResolver=NULL) |
PCP_API SdfPrimSpecHandleVector | PcpComputePrimStackForPrimIndex (const PcpPrimIndex &primIndex) |
bool | Pcp_NeedToRecomputeDueToAssetPathChange (const PcpPrimIndex &index) |
bool Pcp_NeedToRecomputeDueToAssetPathChange | ( | const PcpPrimIndex & | index | ) |
PCP_API void PcpComputePrimIndex | ( | const SdfPath & | primPath, |
const PcpLayerStackPtr & | layerStack, | ||
const PcpPrimIndexInputs & | inputs, | ||
PcpPrimIndexOutputs * | outputs, | ||
ArResolver * | pathResolver = NULL |
||
) |
Compute an index for the given path. errors
will contain any errors encountered while performing this operation.
PCP_API SdfPrimSpecHandleVector PcpComputePrimStackForPrimIndex | ( | const PcpPrimIndex & | primIndex | ) |
Computes the list of prim specs that contribute opinions for the given primIndex
in order from strongest to weakest. This should only be used when it is needed to be known what all the specs are that contribute to the prim index and it makes sense to potentially cache the result. This should never be used for value resolution as it is ineffecient for that purpose.
PXR_NAMESPACE_OPEN_SCOPE SDF_DECLARE_HANDLES | ( | SdfLayer | ) |
SDF_DECLARE_HANDLES | ( | SdfPrimSpec | ) |
|
inline |
Free function version for generic code and ADL.
Definition at line 300 of file primIndex.h.
TF_DECLARE_REF_PTRS | ( | PcpLayerStack | ) |
TF_DECLARE_WEAK_AND_REF_PTRS | ( | PcpPrimIndex_Graph | ) |