HDK
|
#include <extComputationPrimvarsSchema.h>
Public Member Functions | |
Member accessor | |
HD_API TfTokenVector | GetExtComputationPrimvarNames () const |
HD_API HdExtComputationPrimvarSchema | GetExtComputationPrimvar (const TfToken &name) const |
![]() | |
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 | |
Static Public Member Functions | |
Schema location | |
static HD_API const TfToken & | GetSchemaToken () |
static HD_API const HdDataSourceLocator & | GetDefaultLocator () |
Schema construction | |
static HD_API HdContainerDataSourceHandle | BuildRetained (size_t count, const TfToken *names, const HdDataSourceBaseHandle *values) |
Schema retrieval | |
HdExtComputationPrimvarsSchema (HdContainerDataSourceHandle container) | |
static HD_API HdExtComputationPrimvarsSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
Additional Inherited Members | |
![]() | |
using | UnderlyingDataSource = HdContainerDataSource |
![]() | |
template<typename T > | |
T::Handle | _GetTypedDataSource (TfToken name) const |
![]() | |
HdContainerDataSourceHandle | _container |
Definition at line 45 of file extComputationPrimvarsSchema.h.
|
inline |
Retrieves a container data source with the schema's default name token "extComputationPrimvars" from the parent container and constructs a HdExtComputationPrimvarsSchema 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 51 of file extComputationPrimvarsSchema.h.
|
static |
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
HD_API HdExtComputationPrimvarSchema HdExtComputationPrimvarsSchema::GetExtComputationPrimvar | ( | const TfToken & | name | ) | const |
HD_API TfTokenVector HdExtComputationPrimvarsSchema::GetExtComputationPrimvarNames | ( | ) | const |
|
static |
Retrieves a container data source with the schema's default name token "extComputationPrimvars" from the parent container and constructs a HdExtComputationPrimvarsSchema 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.