35#ifndef PXR_USD_IMAGING_USD_IMAGING_DIRECT_MATERIAL_BINDING_SCHEMA_H
36#define PXR_USD_IMAGING_USD_IMAGING_DIRECT_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_DIRECT_MATERIAL_BINDING_SCHEMA_TOKENS \
53 (directMaterialBinding) \
58 USD_IMAGING_DIRECT_MATERIAL_BINDING_SCHEMA_TOKENS);
63class UsdImagingDirectMaterialBindingSchema :
public HdSchema
69 UsdImagingDirectMaterialBindingSchema(HdContainerDataSourceHandle container)
78 static UsdImagingDirectMaterialBindingSchema GetFromParent(
79 const HdContainerDataSourceHandle &fromParentContainer);
90 HdPathDataSourceHandle GetMaterialPath()
const;
93 HdTokenDataSourceHandle GetBindingStrength()
const;
103 static const TfToken &GetSchemaToken();
123 static HdContainerDataSourceHandle
125 const HdPathDataSourceHandle &materialPath,
126 const HdTokenDataSourceHandle &bindingStrength
140 const HdPathDataSourceHandle &materialPath);
143 const HdTokenDataSourceHandle &bindingStrength);
147 HdContainerDataSourceHandle
Build();
150 HdPathDataSourceHandle _materialPath;
151 HdTokenDataSourceHandle _bindingStrength;
158PXR_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.