28 #ifndef PXR_IMAGING_HD_PRIMVAR_SCHEMA_H
29 #define PXR_IMAGING_HD_PRIMVAR_SCHEMA_H
39 #define HDPRIMVAR_SCHEMA_TOKENS \
41 (indexedPrimvarValue) \
98 static HdContainerDataSourceHandle
100 const HdSampledDataSourceHandle &primvarValue,
101 const HdSampledDataSourceHandle &indexedPrimvarValue,
118 const HdSampledDataSourceHandle &primvarValue);
121 const HdSampledDataSourceHandle &indexedPrimvarValue);
134 HdContainerDataSourceHandle
Build();
137 HdSampledDataSourceHandle _primvarValue;
138 HdSampledDataSourceHandle _indexedPrimvarValue;
HD_API Builder & SetRole(const HdTokenDataSourceHandle &role)
GLsizei GLenum const void * indices
static HD_API HdTokenDataSourceHandle BuildInterpolationDataSource(const TfToken &interpolation)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdSampledDataSourceHandle &primvarValue, const HdSampledDataSourceHandle &indexedPrimvarValue, const HdIntArrayDataSourceHandle &indices, const HdTokenDataSourceHandle &interpolation, const HdTokenDataSourceHandle &role)
HdPrimvarSchema(HdContainerDataSourceHandle container)
HD_API Builder & SetPrimvarValue(const HdSampledDataSourceHandle &primvarValue)
HD_API Builder & SetInterpolation(const HdTokenDataSourceHandle &interpolation)
HD_API HdSampledDataSourceHandle GetPrimvarValue()
HdIntArrayDataSource::Handle HdIntArrayDataSourceHandle
HD_API HdTokenDataSourceHandle GetInterpolation()
HD_API Builder & SetIndices(const HdIntArrayDataSourceHandle &indices)
static HD_API HdTokenDataSourceHandle BuildRoleDataSource(const TfToken &role)
TF_DECLARE_PUBLIC_TOKENS(HdPrimvarSchemaTokens, HD_API, HDPRIMVAR_SCHEMA_TOKENS)
HD_API HdIntArrayDataSourceHandle GetIndices()
#define HDPRIMVAR_SCHEMA_TOKENS
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API Builder & SetIndexedPrimvarValue(const HdSampledDataSourceHandle &indexedPrimvarValue)
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdTokenDataSourceHandle GetRole()
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API HdSampledDataSourceHandle GetIndexedPrimvarValue()