|
| static HD_API HdDataSourceBaseHandle | GetFromPath (HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, TfToken const &key, SdfPath *foundAtPath) |
| | Evaluates the key at fromPath. More...
|
| |
| static HD_API HdContainerDataSourceHandle | Compose (HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath) |
| | Composes the system container in at fromPath by walking up the prim.dataSources in inputScene and composing any system containers it encounters. More...
|
| |
| static HD_API HdContainerDataSourceHandle | ComposeAsPrimDataSource (HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath) |
| | Similar to Compose but this return value would be suitable for using with HdOverlayContainerDataSource for a prim's dataSource: More...
|
| |
| static HD_API HdSystemSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
| | Retrieves a container data source with the schema's default name token "system" from the parent container and constructs a HdSystemSchema instance. More...
|
| |
| static HD_API const HdDataSourceLocator & | GetDefaultLocator () |
| | Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default. More...
|
| |
The HdSystemSchema specifies a container that will hold "system" data.
Each piece of system data is identified by a key within the container. A piece of system data is evaluated at a given location by walking up the namespace looking for a system container that contains the corresponding key.
Definition at line 56 of file systemSchema.h.
| static HD_API HdContainerDataSourceHandle Compose |
( |
HdSceneIndexBaseRefPtr const & |
inputScene, |
|
|
SdfPath const & |
fromPath, |
|
|
SdfPath * |
foundAtPath |
|
) |
| |
|
static |
Composes the system container in at fromPath by walking up the prim.dataSources in inputScene and composing any system containers it encounters.
If no system containers were found, this returns null. Otherwise, this will return a container data source with the composed system data sources. If non-null, foundAtPath will be the last prim at which system data was found.