|
| static ESFUSD_API std::shared_ptr< EsfUsdStageData > | RegisterStage (const UsdStageConstPtr &stage, const ListenerBase *listener) |
| | Registers stage as a stage for which cached data should be held, returning a strong reference the client must hold until the cached data is no longer needed.
|
| |
| static ESFUSD_API EsfUsdStageData & | GetStageData (const UsdStageConstPtr &stage) |
| | Get the cached stage data for stage.
|
| |
| static ESFUSD_API const SdfPathVector & | GetOutgoingConnections (const UsdStageConstPtr &stage, const SdfPath &attrPath) |
| | Returns the paths of all objects that are targets of connections owned by the attribute at attrPath.
|
| |
| static ESFUSD_API SdfPathVector | GetIncomingConnections (const UsdStageConstPtr &stage, const SdfPath &targetPath) |
| | Returns the paths of all attributes that own connections that target the object at targetPath.
|
| |
Class that holds data that is cached per-stage.
- Note
- It's unfortunate that clients that access outgoing and incoming connections using this class have to provide a stage pointer, making the implementation of this class less performant and more complicated. Ideally, EsfUsd objects would have a way to get directly to the stage data for their stage, but given the fact that those objects are all short-lived, it's not clear how to do that, at least without growing the sizes of all Esf objects.
Definition at line 54 of file stageData.h.