#include <dataSharingSchema.h>
Definition at line 51 of file dataSharingSchema.h.
HdDataSharingSchema::HdDataSharingSchema |
( |
HdContainerDataSourceHandle |
container | ) |
|
|
inline |
Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
static HD_API HdDataSharingSchema HdDataSharingSchema::GetFromParent |
( |
const HdContainerDataSourceHandle & |
fromParentContainer | ) |
|
|
static |
Retrieves a container data source with the schema's default name token "sharingId" from the parent container and constructs a HdDataSharingSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
The documentation for this class was generated from the following file: