18#ifndef PXR_USD_IMAGING_USD_IMAGING_DIRECT_MATERIAL_BINDING_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_DIRECT_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_DIRECT_MATERIAL_BINDING_SCHEMA_TOKENS \
36 (directMaterialBinding) \
41 USD_IMAGING_DIRECT_MATERIAL_BINDING_SCHEMA_TOKENS);
46class UsdImagingDirectMaterialBindingSchema :
public HdSchema
52 UsdImagingDirectMaterialBindingSchema(HdContainerDataSourceHandle container)
61 static UsdImagingDirectMaterialBindingSchema GetFromParent(
62 const HdContainerDataSourceHandle &fromParentContainer);
73 HdPathDataSourceHandle GetMaterialPath()
const;
76 HdTokenDataSourceHandle GetBindingStrength()
const;
86 static const TfToken &GetSchemaToken();
106 static HdContainerDataSourceHandle
108 const HdPathDataSourceHandle &materialPath,
109 const HdTokenDataSourceHandle &bindingStrength
123 const HdPathDataSourceHandle &materialPath);
126 const HdTokenDataSourceHandle &bindingStrength);
130 HdContainerDataSourceHandle
Build();
133 HdPathDataSourceHandle _materialPath;
134 HdTokenDataSourceHandle _bindingStrength;
141PXR_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.