docs.unity3d.com
    Show / Hide Table of Contents

    Class PcpCache

    Inheritance
    Object
    PcpCache
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class PcpCache : IDisposable

    Constructors

    PcpCache(PcpLayerStackIdentifier)

    Declaration
    public PcpCache(PcpLayerStackIdentifier layerStackIdentifier)
    Parameters
    Type Name Description
    PcpLayerStackIdentifier layerStackIdentifier

    PcpCache(PcpLayerStackIdentifier, String)

    Declaration
    public PcpCache(PcpLayerStackIdentifier layerStackIdentifier, string fileFormatTarget)
    Parameters
    Type Name Description
    PcpLayerStackIdentifier layerStackIdentifier
    String fileFormatTarget

    PcpCache(PcpLayerStackIdentifier, String, Boolean)

    Declaration
    public PcpCache(PcpLayerStackIdentifier layerStackIdentifier, string fileFormatTarget, bool usd)
    Parameters
    Type Name Description
    PcpLayerStackIdentifier layerStackIdentifier
    String fileFormatTarget
    Boolean usd

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    Apply(SWIGTYPE_p_PcpCacheChanges, SWIGTYPE_p_PcpLifeboat)

    Declaration
    public void Apply(SWIGTYPE_p_PcpCacheChanges changes, SWIGTYPE_p_PcpLifeboat lifeboat)
    Parameters
    Type Name Description
    SWIGTYPE_p_PcpCacheChanges changes
    SWIGTYPE_p_PcpLifeboat lifeboat

    CanHaveOpinionForSite(SdfPath, SdfLayerHandle, SdfPath)

    Declaration
    public bool CanHaveOpinionForSite(SdfPath localPcpSitePath, SdfLayerHandle layer, SdfPath allowedPathInLayer)
    Parameters
    Type Name Description
    SdfPath localPcpSitePath
    SdfLayerHandle layer
    SdfPath allowedPathInLayer
    Returns
    Type Description
    Boolean

    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
    Type Name Description
    SdfPath attributePath
    SdfPathVector paths
    Boolean localOnly
    SdfSpecHandle stopProperty
    Boolean includeStopProperty
    SdfPathVector deletedPaths
    SWIGTYPE_p_PcpErrorVector allErrors

    ComputeLayerStack(PcpLayerStackIdentifier, SWIGTYPE_p_PcpErrorVector)

    Declaration
    public PcpLayerStack ComputeLayerStack(PcpLayerStackIdentifier identifier, SWIGTYPE_p_PcpErrorVector allErrors)
    Parameters
    Type Name Description
    PcpLayerStackIdentifier identifier
    SWIGTYPE_p_PcpErrorVector allErrors
    Returns
    Type Description
    PcpLayerStack

    ComputePrimIndex(SdfPath, SWIGTYPE_p_PcpErrorVector)

    Declaration
    public PcpPrimIndex ComputePrimIndex(SdfPath primPath, SWIGTYPE_p_PcpErrorVector allErrors)
    Parameters
    Type Name Description
    SdfPath primPath
    SWIGTYPE_p_PcpErrorVector allErrors
    Returns
    Type Description
    PcpPrimIndex

    ComputePropertyIndex(SdfPath, SWIGTYPE_p_PcpErrorVector)

    Declaration
    public PcpPropertyIndex ComputePropertyIndex(SdfPath propPath, SWIGTYPE_p_PcpErrorVector allErrors)
    Parameters
    Type Name Description
    SdfPath propPath
    SWIGTYPE_p_PcpErrorVector allErrors
    Returns
    Type Description
    PcpPropertyIndex

    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
    Type Name Description
    SdfPath relationshipPath
    SdfPathVector paths
    Boolean localOnly
    SdfSpecHandle stopProperty
    Boolean includeStopProperty
    SdfPathVector deletedPaths
    SWIGTYPE_p_PcpErrorVector allErrors

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    FindAllLayerStacksUsingLayer(SdfLayerHandle)

    Declaration
    public PcpLayerStackPtrVector FindAllLayerStacksUsingLayer(SdfLayerHandle layer)
    Parameters
    Type Name Description
    SdfLayerHandle layer
    Returns
    Type Description
    PcpLayerStackPtrVector

    FindLayerStack(PcpLayerStackIdentifier)

    Declaration
    public PcpLayerStackPtr FindLayerStack(PcpLayerStackIdentifier identifier)
    Parameters
    Type Name Description
    PcpLayerStackIdentifier identifier
    Returns
    Type Description
    PcpLayerStackPtr

    FindPrimIndex(SdfPath)

    Declaration
    public PcpPrimIndex FindPrimIndex(SdfPath primPath)
    Parameters
    Type Name Description
    SdfPath primPath
    Returns
    Type Description
    PcpPrimIndex

    FindPropertyIndex(SdfPath)

    Declaration
    public PcpPropertyIndex FindPropertyIndex(SdfPath propPath)
    Parameters
    Type Name Description
    SdfPath propPath
    Returns
    Type Description
    PcpPropertyIndex

    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
    Type Name Description
    PcpLayerStackPtr siteLayerStack
    SdfPath sitePath
    SWIGTYPE_p_PcpDependencyFlags depMask
    Boolean recurseOnSite
    Boolean recurseOnIndex
    Boolean filterForExistingCachesOnly
    Returns
    Type Description
    SWIGTYPE_p_PcpDependencyVector

    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
    Type Name Description
    SdfLayerHandle siteLayer
    SdfPath sitePath
    SWIGTYPE_p_PcpDependencyFlags depMask
    Boolean recurseOnSite
    Boolean recurseOnIndex
    Boolean filterForExistingCachesOnly
    Returns
    Type Description
    SWIGTYPE_p_PcpDependencyVector

    GetDynamicFileFormatArgumentDependencyData(SdfPath)

    Declaration
    public SWIGTYPE_p_PcpDynamicFileFormatDependencyData GetDynamicFileFormatArgumentDependencyData(SdfPath primIndexPath)
    Parameters
    Type Name Description
    SdfPath primIndexPath
    Returns
    Type Description
    SWIGTYPE_p_PcpDynamicFileFormatDependencyData

    GetFileFormatTarget()

    Declaration
    public string GetFileFormatTarget()
    Returns
    Type Description
    String

    GetIncludedPayloads()

    Declaration
    public SWIGTYPE_p_std__unordered_setT_SdfPath_SdfPath__Hash_t GetIncludedPayloads()
    Returns
    Type Description
    SWIGTYPE_p_std__unordered_setT_SdfPath_SdfPath__Hash_t

    GetInvalidAssetPaths()

    Declaration
    public SWIGTYPE_p_std__mapT_SdfPath_std__vectorT_std__string_t_SdfPath__FastLessThan_t GetInvalidAssetPaths()
    Returns
    Type Description
    SWIGTYPE_p_std__mapT_SdfPath_std__vectorT_std__string_t_SdfPath__FastLessThan_t

    GetInvalidSublayerIdentifiers()

    Declaration
    public StdStringVector GetInvalidSublayerIdentifiers()
    Returns
    Type Description
    StdStringVector

    GetLayerStack()

    Declaration
    public PcpLayerStackPtr GetLayerStack()
    Returns
    Type Description
    PcpLayerStackPtr

    GetLayerStackIdentifier()

    Declaration
    public PcpLayerStackIdentifier GetLayerStackIdentifier()
    Returns
    Type Description
    PcpLayerStackIdentifier

    GetMutedLayers()

    Declaration
    public StdStringVector GetMutedLayers()
    Returns
    Type Description
    StdStringVector

    GetPrimIndexInputs()

    Declaration
    public SWIGTYPE_p_PcpPrimIndexInputs GetPrimIndexInputs()
    Returns
    Type Description
    SWIGTYPE_p_PcpPrimIndexInputs

    GetUsedLayers()

    Declaration
    public SWIGTYPE_p_SdfLayerHandleSet GetUsedLayers()
    Returns
    Type Description
    SWIGTYPE_p_SdfLayerHandleSet

    GetUsedRootLayers()

    Declaration
    public SWIGTYPE_p_SdfLayerHandleSet GetUsedRootLayers()
    Returns
    Type Description
    SWIGTYPE_p_SdfLayerHandleSet

    GetVariantFallbacks()

    Declaration
    public SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t GetVariantFallbacks()
    Returns
    Type Description
    SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t

    HasAnyDynamicFileFormatArgumentDependencies()

    Declaration
    public bool HasAnyDynamicFileFormatArgumentDependencies()
    Returns
    Type Description
    Boolean

    IsInvalidAssetPath(String)

    Declaration
    public bool IsInvalidAssetPath(string resolvedAssetPath)
    Parameters
    Type Name Description
    String resolvedAssetPath
    Returns
    Type Description
    Boolean

    IsInvalidSublayerIdentifier(String)

    Declaration
    public bool IsInvalidSublayerIdentifier(string identifier)
    Parameters
    Type Name Description
    String identifier
    Returns
    Type Description
    Boolean

    IsLayerMuted(SdfLayerHandle, String)

    Declaration
    public bool IsLayerMuted(SdfLayerHandle anchorLayer, string layerIdentifier)
    Parameters
    Type Name Description
    SdfLayerHandle anchorLayer
    String layerIdentifier
    Returns
    Type Description
    Boolean

    IsLayerMuted(SdfLayerHandle, String, SWIGTYPE_p_std__string)

    Declaration
    public bool IsLayerMuted(SdfLayerHandle anchorLayer, string layerIdentifier, SWIGTYPE_p_std__string canonicalMutedLayerIdentifier)
    Parameters
    Type Name Description
    SdfLayerHandle anchorLayer
    String layerIdentifier
    SWIGTYPE_p_std__string canonicalMutedLayerIdentifier
    Returns
    Type Description
    Boolean

    IsLayerMuted(String)

    Declaration
    public bool IsLayerMuted(string layerIdentifier)
    Parameters
    Type Name Description
    String layerIdentifier
    Returns
    Type Description
    Boolean

    IsPayloadIncluded(SdfPath)

    Declaration
    public bool IsPayloadIncluded(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    Boolean

    IsPossibleDynamicFileFormatArgumentField(TfToken)

    Declaration
    public bool IsPossibleDynamicFileFormatArgumentField(TfToken field)
    Parameters
    Type Name Description
    TfToken field
    Returns
    Type Description
    Boolean

    IsUsd()

    Declaration
    public bool IsUsd()
    Returns
    Type Description
    Boolean

    PrintStatistics()

    Declaration
    public void PrintStatistics()

    Reload(SWIGTYPE_p_PcpChanges)

    Declaration
    public void Reload(SWIGTYPE_p_PcpChanges changes)
    Parameters
    Type Name Description
    SWIGTYPE_p_PcpChanges changes

    ReloadReferences(SWIGTYPE_p_PcpChanges, SdfPath)

    Declaration
    public void ReloadReferences(SWIGTYPE_p_PcpChanges changes, SdfPath primPath)
    Parameters
    Type Name Description
    SWIGTYPE_p_PcpChanges changes
    SdfPath primPath

    RequestLayerMuting(StdStringVector, StdStringVector)

    Declaration
    public void RequestLayerMuting(StdStringVector layersToMute, StdStringVector layersToUnmute)
    Parameters
    Type Name Description
    StdStringVector layersToMute
    StdStringVector layersToUnmute

    RequestLayerMuting(StdStringVector, StdStringVector, SWIGTYPE_p_PcpChanges)

    Declaration
    public void RequestLayerMuting(StdStringVector layersToMute, StdStringVector layersToUnmute, SWIGTYPE_p_PcpChanges changes)
    Parameters
    Type Name Description
    StdStringVector layersToMute
    StdStringVector layersToUnmute
    SWIGTYPE_p_PcpChanges changes

    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
    Type Name Description
    SWIGTYPE_p_std__setT_SdfPath_t pathsToInclude
    SWIGTYPE_p_std__setT_SdfPath_t pathsToExclude

    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
    Type Name Description
    SWIGTYPE_p_std__setT_SdfPath_t pathsToInclude
    SWIGTYPE_p_std__setT_SdfPath_t pathsToExclude
    SWIGTYPE_p_PcpChanges changes

    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
    Type Name Description
    SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t map

    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
    Type Name Description
    SWIGTYPE_p_std__mapT_std__string_std__vectorT_std__string_t_std__lessT_std__string_t_t map
    SWIGTYPE_p_PcpChanges changes
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023