HDK
|
#include <directMaterialBindingsSchema.h>
Public Member Functions | |
UsdImagingDirectMaterialBindingsSchema (HdContainerDataSourceHandle container) | |
USDIMAGING_API TfTokenVector | GetPurposes () |
USDIMAGING_API UsdImagingDirectMaterialBindingSchema | GetDirectMaterialBinding () |
Returns the 'allPurpose' binding. More... | |
USDIMAGING_API UsdImagingDirectMaterialBindingSchema | GetDirectMaterialBinding (const TfToken &purpose) |
Returns the binding for the requested purpose. More... | |
Public Member Functions inherited from HdSchema | |
HdSchema (HdContainerDataSourceHandle container) | |
HD_API HdContainerDataSourceHandle | GetContainer () |
Returns the container data source that this schema is interpreting. More... | |
HD_API bool | IsDefined () const |
operator bool () const | |
Static Public Member Functions | |
static USDIMAGING_API HdContainerDataSourceHandle | BuildRetained (size_t count, const TfToken *names, const HdDataSourceBaseHandle *values) |
static USDIMAGING_API UsdImagingDirectMaterialBindingsSchema | GetFromParent (const HdContainerDataSourceHandle &fromParentContainer) |
static USDIMAGING_API const TfToken & | GetSchemaToken () |
static USDIMAGING_API const HdDataSourceLocator & | GetDefaultLocator () |
Additional Inherited Members | |
Public Types inherited from HdSchema | |
using | UnderlyingDataSource = HdContainerDataSource |
Protected Member Functions inherited from HdSchema | |
template<typename T > | |
T::Handle | _GetTypedDataSource (TfToken name) |
Protected Attributes inherited from HdSchema | |
HdContainerDataSourceHandle | _container |
Definition at line 65 of file directMaterialBindingsSchema.h.
|
inline |
Definition at line 68 of file directMaterialBindingsSchema.h.
|
static |
|
static |
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container representing this schema is found by default.
USDIMAGING_API UsdImagingDirectMaterialBindingSchema UsdImagingDirectMaterialBindingsSchema::GetDirectMaterialBinding | ( | ) |
Returns the 'allPurpose' binding.
USDIMAGING_API UsdImagingDirectMaterialBindingSchema UsdImagingDirectMaterialBindingsSchema::GetDirectMaterialBinding | ( | const TfToken & | purpose | ) |
Returns the binding for the requested purpose.
|
static |
Retrieves a container data source with the schema's default name token "directMaterialBindings" from the parent container and constructs a UsdImagingDirectMaterialBindingsSchema instance. Because the requested container data source may not exist, the result should be checked with IsDefined() or a bool comparison before use.
USDIMAGING_API TfTokenVector UsdImagingDirectMaterialBindingsSchema::GetPurposes | ( | ) |
Returns the purposes for which bindings may be available.
|
static |
Returns a token where the container representing this schema is found in a container by default.