35#ifndef PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_H
36#define PXR_USD_IMAGING_USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_H
40#include "pxr/usdImaging/usdImaging/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_TOKENS \
53 (collectionMaterialBinding) \
59 USD_IMAGING_COLLECTION_MATERIAL_BINDING_SCHEMA_TOKENS);
64class UsdImagingCollectionMaterialBindingSchema :
public HdSchema
70 UsdImagingCollectionMaterialBindingSchema(HdContainerDataSourceHandle container)
79 static UsdImagingCollectionMaterialBindingSchema GetFromParent(
80 const HdContainerDataSourceHandle &fromParentContainer);
91 HdPathDataSourceHandle GetCollectionPath()
const;
94 HdPathDataSourceHandle GetMaterialPath()
const;
97 HdTokenDataSourceHandle GetBindingStrength()
const;
107 static const TfToken &GetSchemaToken();
127 static HdContainerDataSourceHandle
129 const HdPathDataSourceHandle &collectionPath,
130 const HdPathDataSourceHandle &materialPath,
131 const HdTokenDataSourceHandle &bindingStrength
145 const HdPathDataSourceHandle &collectionPath);
148 const HdPathDataSourceHandle &materialPath);
151 const HdTokenDataSourceHandle &bindingStrength);
155 HdContainerDataSourceHandle
Build();
158 HdPathDataSourceHandle _collectionPath;
159 HdPathDataSourceHandle _materialPath;
160 HdTokenDataSourceHandle _bindingStrength;
167PXR_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.