Class PcpCache
Namespace: pxr
Syntax
public class PcpCache : IDisposable
Constructors
PcpCache(PcpLayerStackIdentifier)
Declaration
public PcpCache(PcpLayerStackIdentifier layerStackIdentifier)
Parameters
PcpCache(PcpLayerStackIdentifier, String)
Declaration
public PcpCache(PcpLayerStackIdentifier layerStackIdentifier, string fileFormatTarget)
Parameters
PcpCache(PcpLayerStackIdentifier, String, Boolean)
Declaration
public PcpCache(PcpLayerStackIdentifier layerStackIdentifier, string fileFormatTarget, bool usd)
Parameters
Fields
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Methods
Apply(SWIGTYPE_p_PcpCacheChanges, SWIGTYPE_p_PcpLifeboat)
Declaration
public void Apply(SWIGTYPE_p_PcpCacheChanges changes, SWIGTYPE_p_PcpLifeboat lifeboat)
Parameters
CanHaveOpinionForSite(SdfPath, SdfLayerHandle, SdfPath)
Declaration
public bool CanHaveOpinionForSite(SdfPath localPcpSitePath, SdfLayerHandle layer, SdfPath allowedPathInLayer)
Parameters
Returns
ComputeAttributeConnectionPaths(SdfPath, SdfPathVector, Boolean, SdfSpecHandle, Boolean, SdfPathVector, SWIGTYPE_p_PcpErrorVector)
Declaration
public void ComputeAttributeConnectionPaths(SdfPath attributePath, SdfPathVector paths, bool localOnly, SdfSpecHandle stopProperty, bool includeStopProperty, SdfPathVector deletedPaths, SWIGTYPE_p_PcpErrorVector allErrors)
Parameters
ComputeLayerStack(PcpLayerStackIdentifier, SWIGTYPE_p_PcpErrorVector)
Declaration
public PcpLayerStack ComputeLayerStack(PcpLayerStackIdentifier identifier, SWIGTYPE_p_PcpErrorVector allErrors)
Parameters
Returns
ComputePrimIndex(SdfPath, SWIGTYPE_p_PcpErrorVector)
Declaration
public PcpPrimIndex ComputePrimIndex(SdfPath primPath, SWIGTYPE_p_PcpErrorVector allErrors)
Parameters
Returns
ComputePropertyIndex(SdfPath, SWIGTYPE_p_PcpErrorVector)
Declaration
public PcpPropertyIndex ComputePropertyIndex(SdfPath propPath, SWIGTYPE_p_PcpErrorVector allErrors)
Parameters
Returns
ComputeRelationshipTargetPaths(SdfPath, SdfPathVector, Boolean, SdfSpecHandle, Boolean, SdfPathVector, SWIGTYPE_p_PcpErrorVector)
Declaration
public void ComputeRelationshipTargetPaths(SdfPath relationshipPath, SdfPathVector paths, bool localOnly, SdfSpecHandle stopProperty, bool includeStopProperty, SdfPathVector deletedPaths, SWIGTYPE_p_PcpErrorVector allErrors)
Parameters
Dispose()
Declaration
public virtual void Dispose()
Implements
Finalize()
Declaration
protected void Finalize()
FindAllLayerStacksUsingLayer(SdfLayerHandle)
Declaration
public PcpLayerStackPtrVector FindAllLayerStacksUsingLayer(SdfLayerHandle layer)
Parameters
Returns
FindLayerStack(PcpLayerStackIdentifier)
Declaration
public PcpLayerStackPtr FindLayerStack(PcpLayerStackIdentifier identifier)
Parameters
Returns
FindPrimIndex(SdfPath)
Declaration
public PcpPrimIndex FindPrimIndex(SdfPath primPath)
Parameters
Type |
Name |
Description |
SdfPath |
primPath |
|
Returns
FindPropertyIndex(SdfPath)
Declaration
public PcpPropertyIndex FindPropertyIndex(SdfPath propPath)
Parameters
Type |
Name |
Description |
SdfPath |
propPath |
|
Returns
FindSiteDependencies(PcpLayerStackPtr, SdfPath, SWIGTYPE_p_PcpDependencyFlags, Boolean, Boolean, Boolean)
Declaration
public SWIGTYPE_p_PcpDependencyVector FindSiteDependencies(PcpLayerStackPtr siteLayerStack, SdfPath sitePath, SWIGTYPE_p_PcpDependencyFlags depMask, bool recurseOnSite, bool recurseOnIndex, bool filterForExistingCachesOnly)
Parameters
Returns
FindSiteDependencies(SdfLayerHandle, SdfPath, SWIGTYPE_p_PcpDependencyFlags, Boolean, Boolean, Boolean)
Declaration
public SWIGTYPE_p_PcpDependencyVector FindSiteDependencies(SdfLayerHandle siteLayer, SdfPath sitePath, SWIGTYPE_p_PcpDependencyFlags depMask, bool recurseOnSite, bool recurseOnIndex, bool filterForExistingCachesOnly)
Parameters
Returns
Declaration
public SWIGTYPE_p_PcpDynamicFileFormatDependencyData GetDynamicFileFormatArgumentDependencyData(SdfPath primIndexPath)
Parameters
Type |
Name |
Description |
SdfPath |
primIndexPath |
|
Returns
Declaration
public string GetFileFormatTarget()
Returns
GetIncludedPayloads()
Declaration
public SWIGTYPE_p_std__unordered_setT_SdfPath_SdfPath__Hash_t GetIncludedPayloads()
Returns
GetInvalidAssetPaths()
Declaration
public SWIGTYPE_p_std__mapT_SdfPath_std__vectorT_std__string_t_SdfPath__FastLessThan_t GetInvalidAssetPaths()
Returns
GetInvalidSublayerIdentifiers()
Declaration
public StdStringVector GetInvalidSublayerIdentifiers()
Returns
GetLayerStack()
Declaration
public PcpLayerStackPtr GetLayerStack()
Returns
GetLayerStackIdentifier()
Declaration
public PcpLayerStackIdentifier GetLayerStackIdentifier()
Returns
GetMutedLayers()
Declaration
public StdStringVector GetMutedLayers()
Returns
Declaration
public SWIGTYPE_p_PcpPrimIndexInputs GetPrimIndexInputs()
Returns
GetUsedLayers()
Declaration
public SWIGTYPE_p_SdfLayerHandleSet GetUsedLayers()
Returns
GetUsedRootLayers()
Declaration
public SWIGTYPE_p_SdfLayerHandleSet GetUsedRootLayers()
Returns
GetVariantFallbacks()
Declaration
public SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t GetVariantFallbacks()
Returns
Declaration
public bool HasAnyDynamicFileFormatArgumentDependencies()
Returns
IsInvalidAssetPath(String)
Declaration
public bool IsInvalidAssetPath(string resolvedAssetPath)
Parameters
Type |
Name |
Description |
String |
resolvedAssetPath |
|
Returns
IsInvalidSublayerIdentifier(String)
Declaration
public bool IsInvalidSublayerIdentifier(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
IsLayerMuted(SdfLayerHandle, String)
Declaration
public bool IsLayerMuted(SdfLayerHandle anchorLayer, string layerIdentifier)
Parameters
Returns
IsLayerMuted(SdfLayerHandle, String, SWIGTYPE_p_std__string)
Declaration
public bool IsLayerMuted(SdfLayerHandle anchorLayer, string layerIdentifier, SWIGTYPE_p_std__string canonicalMutedLayerIdentifier)
Parameters
Returns
IsLayerMuted(String)
Declaration
public bool IsLayerMuted(string layerIdentifier)
Parameters
Type |
Name |
Description |
String |
layerIdentifier |
|
Returns
IsPayloadIncluded(SdfPath)
Declaration
public bool IsPayloadIncluded(SdfPath path)
Parameters
Returns
Declaration
public bool IsPossibleDynamicFileFormatArgumentField(TfToken field)
Parameters
Type |
Name |
Description |
TfToken |
field |
|
Returns
IsUsd()
Declaration
Returns
PrintStatistics()
Declaration
public void PrintStatistics()
Reload(SWIGTYPE_p_PcpChanges)
Declaration
public void Reload(SWIGTYPE_p_PcpChanges changes)
Parameters
ReloadReferences(SWIGTYPE_p_PcpChanges, SdfPath)
Declaration
public void ReloadReferences(SWIGTYPE_p_PcpChanges changes, SdfPath primPath)
Parameters
RequestLayerMuting(StdStringVector, StdStringVector)
Declaration
public void RequestLayerMuting(StdStringVector layersToMute, StdStringVector layersToUnmute)
Parameters
RequestLayerMuting(StdStringVector, StdStringVector, SWIGTYPE_p_PcpChanges)
Declaration
public void RequestLayerMuting(StdStringVector layersToMute, StdStringVector layersToUnmute, SWIGTYPE_p_PcpChanges changes)
Parameters
RequestPayloads(SWIGTYPE_p_std__setT_SdfPath_t, SWIGTYPE_p_std__setT_SdfPath_t)
Declaration
public void RequestPayloads(SWIGTYPE_p_std__setT_SdfPath_t pathsToInclude, SWIGTYPE_p_std__setT_SdfPath_t pathsToExclude)
Parameters
RequestPayloads(SWIGTYPE_p_std__setT_SdfPath_t, SWIGTYPE_p_std__setT_SdfPath_t, SWIGTYPE_p_PcpChanges)
Declaration
public void RequestPayloads(SWIGTYPE_p_std__setT_SdfPath_t pathsToInclude, SWIGTYPE_p_std__setT_SdfPath_t pathsToExclude, SWIGTYPE_p_PcpChanges changes)
Parameters
SetVariantFallbacks(SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t)
Declaration
public void SetVariantFallbacks(SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t map)
Parameters
SetVariantFallbacks(SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t, SWIGTYPE_p_PcpChanges)
Declaration
public void SetVariantFallbacks(SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t map, SWIGTYPE_p_PcpChanges changes)
Parameters
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.