18#ifndef PXR_IMAGING_HD_MATERIAL_INTERFACE_PARAMETER_SCHEMA_H
19#define PXR_IMAGING_HD_MATERIAL_INTERFACE_PARAMETER_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
24#include "pxr/imaging/hd/schemaTypeDefs.h"
26#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_MATERIAL_INTERFACE_PARAMETER_SCHEMA_TOKENS \
42 HD_MATERIAL_INTERFACE_PARAMETER_SCHEMA_TOKENS);
124 static HdContainerDataSourceHandle
126 const HdTokenDataSourceHandle &displayGroup,
127 const HdTokenDataSourceHandle &displayName,
128 const HdVectorDataSourceHandle &mappings
142 const HdTokenDataSourceHandle &displayGroup);
145 const HdTokenDataSourceHandle &displayName);
148 const HdVectorDataSourceHandle &mappings);
152 HdContainerDataSourceHandle
Build();
155 HdTokenDataSourceHandle _displayGroup;
156 HdTokenDataSourceHandle _displayName;
157 HdVectorDataSourceHandle _mappings;
164PXR_NAMESPACE_CLOSE_SCOPE
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
The MaterialInterfaceParameter schema describes a single interface parameter (public UI parameter).
static HD_API HdContainerDataSourceHandle BuildRetained(const HdTokenDataSourceHandle &displayGroup, const HdTokenDataSourceHandle &displayName, const HdVectorDataSourceHandle &mappings)
HD_API HdTokenDataSourceHandle GetDisplayName() const
Optional displayName. Intended for GUI organization.
HD_API HdTokenDataSourceHandle GetDisplayGroup() const
Optional displayGroup. Intended for GUI organization.
HD_API HdMaterialInterfaceMappingVectorSchema GetMappings() const
Maps this singular interface parameter to a vector of target node parameters.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Template class wrapping a vector data source whose children are container data source conforming to a...
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.