28 #ifndef PXR_IMAGING_HD_MATERIAL_CONNECTION_SCHEMA_H 29 #define PXR_IMAGING_HD_MATERIAL_CONNECTION_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDMATERIALCONNECTION_SCHEMA_TOKENS \ 41 (upstreamNodeOutputName) \ 44 HDMATERIALCONNECTION_SCHEMA_TOKENS);
48 class HdMaterialConnectionSchema :
public HdSchema 51 HdMaterialConnectionSchema(HdContainerDataSourceHandle container)
57 HdTokenDataSourceHandle GetUpstreamNodePath();
59 HdTokenDataSourceHandle GetUpstreamNodeOutputName();
69 static HdContainerDataSourceHandle
71 const HdTokenDataSourceHandle &upstreamNodePath,
72 const HdTokenDataSourceHandle &upstreamNodeOutputName
86 const HdTokenDataSourceHandle &upstreamNodePath);
88 Builder &SetUpstreamNodeOutputName(
89 const HdTokenDataSourceHandle &upstreamNodeOutputName);
93 HdContainerDataSourceHandle
Build();
96 HdTokenDataSourceHandle _upstreamNodePath;
97 HdTokenDataSourceHandle _upstreamNodeOutputName;
102 PXR_NAMESPACE_CLOSE_SCOPE
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Schema classes represent a structured view of the inherently unstructured container data source passe...