HDK
|
#include <lightSchema.h>
Static Public Member Functions | |
Schema location | |
static HD_API const TfToken & | GetSchemaToken () |
static HD_API const HdDataSourceLocator & | GetDefaultLocator () |
Schema retrieval | |
HdLightSchema (HdContainerDataSourceHandle container) | |
static HD_API HdLightSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
Additional Inherited Members | |
![]() | |
using | UnderlyingDataSource = HdContainerDataSource |
![]() | |
HdSchema (HdContainerDataSourceHandle container) | |
HD_API HdContainerDataSourceHandle | GetContainer () const |
Returns the container data source that this schema is interpreting. More... | |
HD_API bool | IsDefined () const |
operator bool () const | |
![]() | |
template<typename T > | |
T::Handle | _GetTypedDataSource (TfToken name) const |
![]() | |
HdContainerDataSourceHandle | _container |
Definition at line 44 of file lightSchema.h.
|
inline |
Retrieves a container data source with the schema's default name token "light" from the parent container and constructs a HdLightSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Definition at line 50 of file lightSchema.h.
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
|
static |
Retrieves a container data source with the schema's default name token "light" from the parent container and constructs a HdLightSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
Returns a token where the container representing this schema is found in a container by default.