18#ifndef PXR_IMAGING_HD_MATERIAL_NODE_PARAMETER_SCHEMA_H
19#define PXR_IMAGING_HD_MATERIAL_NODE_PARAMETER_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_MATERIAL_NODE_PARAMETER_SCHEMA_TOKENS \
41 HD_MATERIAL_NODE_PARAMETER_SCHEMA_TOKENS);
69 HdSampledDataSourceHandle GetValue()
const;
72 HdTokenDataSourceHandle GetColorSpace()
const;
75 HdTokenDataSourceHandle GetTypeName()
const;
90 static HdContainerDataSourceHandle
92 const HdSampledDataSourceHandle &value,
93 const HdTokenDataSourceHandle &colorSpace,
94 const HdTokenDataSourceHandle &typeName
108 const HdSampledDataSourceHandle &value);
111 const HdTokenDataSourceHandle &colorSpace);
114 const HdTokenDataSourceHandle &typeName);
118 HdContainerDataSourceHandle
Build();
121 HdSampledDataSourceHandle _value;
122 HdTokenDataSourceHandle _colorSpace;
123 HdTokenDataSourceHandle _typeName;
130PXR_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 MaterialNodeParameter schema defines the value data source for the parameter.
static HD_API HdContainerDataSourceHandle BuildRetained(const HdSampledDataSourceHandle &value, const HdTokenDataSourceHandle &colorSpace, const HdTokenDataSourceHandle &typeName)
Schema classes represent a structured view of the inherently unstructured container data source passe...
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.