18#ifndef PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_H
23#include "pxr/usdImaging/usdImaging/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_TOKENS \
36 (collectionMaterialBinding) \
42 USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_TOKENS);
47class UsdImagingCollectionMaterialBindingSchema :
public HdSchema
53 UsdImagingCollectionMaterialBindingSchema(HdContainerDataSourceHandle container)
62 static UsdImagingCollectionMaterialBindingSchema GetFromParent(
63 const HdContainerDataSourceHandle &fromParentContainer);
74 HdPathDataSourceHandle GetCollectionPath()
const;
77 HdPathDataSourceHandle GetMaterialPath()
const;
80 HdTokenDataSourceHandle GetBindingStrength()
const;
90 static const TfToken &GetSchemaToken();
110 static HdContainerDataSourceHandle
112 const HdPathDataSourceHandle &collectionPath,
113 const HdPathDataSourceHandle &materialPath,
114 const HdTokenDataSourceHandle &bindingStrength
128 const HdPathDataSourceHandle &collectionPath);
131 const HdPathDataSourceHandle &materialPath);
134 const HdTokenDataSourceHandle &bindingStrength);
138 HdContainerDataSourceHandle
Build();
141 HdPathDataSourceHandle _collectionPath;
142 HdPathDataSourceHandle _materialPath;
143 HdTokenDataSourceHandle _bindingStrength;
150PXR_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...
Token for efficient comparison, assignment, and hashing of known strings.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
USDIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.