18#ifndef PXR_USD_IMAGING_USD_IMAGING_MATERIAL_BINDINGS_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_MATERIAL_BINDINGS_SCHEMA_H
23#include "pxr/usdImaging/usdImaging/api.h"
25#include "pxr/imaging/hd/schema.h"
28#include "pxr/imaging/hd/vectorSchema.h"
31PXR_NAMESPACE_OPEN_SCOPE
38#define USD_IMAGING_MATERIAL_BINDINGS_SCHEMA_TOKENS \
39 (usdMaterialBindings) \
43 USD_IMAGING_MATERIAL_BINDINGS_SCHEMA_TOKENS);
72 const HdContainerDataSourceHandle &fromParentContainer);
120PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Template class wrapping a vector data source whose children are container data source conforming to a...
Token for efficient comparison, assignment, and hashing of known strings.
The UsdImagingMaterialBindingSchema specifies a container for a prim's material bindings for a partic...
The UsdImagingMaterialBindingsSchema specifies a container for all the material bindings declared on ...
static USDIMAGING_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
USDIMAGING_API TfTokenVector GetPurposes() const
Returns the purposes for which bindings may be available.
static USDIMAGING_API UsdImagingMaterialBindingsSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "usdMaterialBindings" from the...
USDIMAGING_API UsdImagingMaterialBindingVectorSchema GetMaterialBindings(const TfToken &purpose) const
Returns the bindings for the given purpose.
USDIMAGING_API UsdImagingMaterialBindingVectorSchema GetMaterialBindings() const
Returns the bindings for 'allPurpose'.
static USDIMAGING_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
std::vector< TfToken > TfTokenVector
Convenience types.