24 #ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_PRIMVARS_H
25 #define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_PRIMVARS_H
67 using _NamespacedPrimvarsMap = std::map<TfToken, UsdGeomPrimvar>;
68 _NamespacedPrimvarsMap _namespacedPrimvars;
91 : primvarName(primvarName)
92 , usdAttrName(usdAttrName)
126 using _CustomPrimvarsMap =
130 _CustomPrimvarsMap _customPrimvars;
155 HdDataSourceBaseHandle
Get(
const TfToken & name)
override;
179 #endif // PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_PRIMVARS_H
std::vector< Mapping > Mappings
HdDataSourceBaseHandle Get(const TfToken &name) override
HD_DECLARE_DATASOURCE(UsdImagingDataSourcePrimvar)
HdDataSourceBaseHandle Get(const TfToken &name) override
HD_DECLARE_DATASOURCE(UsdImagingDataSourcePrimvars)
HD_DECLARE_DATASOURCE(UsdImagingDataSourceCustomPrimvars)
TfTokenVector GetNames() override
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
USDIMAGING_API HdDataSourceBaseHandle Get(const TfToken &name) override
Mapping(const TfToken &primvarName, const TfToken &usdAttrName, const TfToken &interpolation=TfToken())
TfTokenVector GetNames() override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
USDIMAGING_API TfTokenVector GetNames() override
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_DECLARE_DATASOURCE_HANDLES(UsdImagingDataSourcePrimvars)
static USDIMAGING_API HdDataSourceLocatorSet Invalidate(const TfTokenVector &properties, const Mappings &mappings)
HdTokenDataSource::Handle HdTokenDataSourceHandle