7 #ifndef PXR_IMAGING_HD_DATA_SOURCE_LEGACY_PRIM_H
8 #define PXR_IMAGING_HD_DATA_SOURCE_LEGACY_PRIM_H
28 #define HD_LEGACY_PRIMTYPE_TOKENS \
40 #define HD_LEGACY_FLAG_TOKENS \
74 HdDataSourceBaseHandle _GetPrimvarsDataSource();
75 HdDataSourceBaseHandle _GetExtComputationPrimvarsDataSource();
76 HdDataSourceBaseHandle _GetMaterialBindingsDataSource();
77 HdDataSourceBaseHandle _GetXformDataSource();
78 HdDataSourceBaseHandle _GetMaterialDataSource();
79 HdDataSourceBaseHandle _GetIntegratorDataSource();
80 HdDataSourceBaseHandle _GetSampleFilterDataSource();
81 HdDataSourceBaseHandle _GetDisplayFilterDataSource();
82 HdDataSourceBaseHandle _GetDisplayStyleDataSource();
83 HdDataSourceBaseHandle _GetInstancedByDataSource();
84 HdDataSourceBaseHandle _GetDataSharingDataSource();
85 HdDataSourceBaseHandle _GetInstancerTopologyDataSource();
86 HdDataSourceBaseHandle _GetVolumeFieldBindingDataSource();
87 HdDataSourceBaseHandle _GetCoordSysBindingDataSource();
88 HdDataSourceBaseHandle _GetVisibilityDataSource();
89 HdDataSourceBaseHandle _GetPurposeDataSource();
90 HdDataSourceBaseHandle _GetExtentDataSource();
91 HdDataSourceBaseHandle _GetCategoriesDataSource();
92 HdDataSourceBaseHandle _GetInstanceCategoriesDataSource();
95 bool _IsInstanceable();
103 std::atomic_bool _primvarsBuilt;
105 bool _extComputationPrimvarsBuilt : 1;
107 HdContainerDataSourceAtomicHandle _primvars;
108 HdContainerDataSourceHandle _extComputationPrimvars;
113 HdContainerDataSourceAtomicHandle _instancerTopology;
TfTokenVector GetNames() override
#define PXR_NAMESPACE_OPEN_SCOPE
void PrimDirtied(const HdDataSourceLocatorSet &locators)
HdDataSourceLegacyPrim(const SdfPath &id, const TfToken &type, HdSceneDelegate *sceneDelegate)
GLint GLint GLsizei GLint GLenum GLenum type
HdDataSourceBaseHandle Get(const TfToken &name) override
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
HdSceneDelegate * _sceneDelegate
#define HD_LEGACY_FLAG_TOKENS
#define HD_LEGACY_PRIMTYPE_TOKENS
#define PXR_NAMESPACE_CLOSE_SCOPE
TF_DECLARE_PUBLIC_TOKENS(HdLegacyPrimTypeTokens, HD_API, HD_LEGACY_PRIMTYPE_TOKENS)
bool HdLegacyPrimTypeIsVolumeField(TfToken const &primType)
HD_DECLARE_DATASOURCE(HdDataSourceLegacyPrim)
static const HdDataSourceLocatorSet & GetCachedLocators()
Return which locators PrimDirtied will respond to...
HD_DECLARE_DATASOURCE_HANDLES(HdDataSourceLegacyPrim)