|
HDK
|
#include <selectionsSchema.h>
Inheritance diagram for HdSelectionsSchema:Public Member Functions | |
| HdSelectionsSchema (HdVectorDataSourceHandle const &vector) | |
Public Member Functions inherited from HdSchemaBasedVectorSchema< HdSelectionSchema > | |
| HdSchemaBasedVectorSchema (HdVectorDataSourceHandle const &vector) | |
| HdSelectionSchema | GetElement (const size_t element) const |
Public Member Functions inherited from HdVectorSchema | |
| HdVectorSchema (HdVectorDataSourceHandle const &vector) | |
| HD_API HdVectorDataSourceHandle | GetVector () |
| Returns the vector data source that this schema is interpreting. More... | |
| HD_API bool | IsDefined () const |
| operator bool () const | |
| HD_API size_t | GetNumElements () const |
| Number of elements in the vector. More... | |
Static Public Member Functions | |
| static HD_API HdSelectionsSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
| static HD_API const TfToken & | GetSchemaToken () |
| static HD_API const HdDataSourceLocator & | GetDefaultLocator () |
Static Public Member Functions inherited from HdVectorSchema | |
| static HD_API HdVectorDataSourceHandle | BuildRetained (size_t count, const HdDataSourceBaseHandle *values) |
Additional Inherited Members | |
Public Types inherited from HdVectorSchema | |
| using | UnderlyingDataSource = HdVectorDataSource |
Protected Member Functions inherited from HdVectorSchema | |
| template<typename T > | |
| T::Handle | _GetTyped (const size_t element) const |
Protected Attributes inherited from HdVectorSchema | |
| HdVectorDataSourceHandle | _vector |
Definition at line 30 of file selectionsSchema.h.
|
inline |
Definition at line 33 of file selectionsSchema.h.
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the vector data source representing this schema is found by default.
|
static |
Retrieves a vector data source with the schema's default name token "selections" from the parent vector and constructs a HdSelectionsSchema instance. Because the requested vector 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.