7 #ifndef PXR_IMAGING_HD_DATA_SOURCE_LEGACY_PRIM_H
8 #define PXR_IMAGING_HD_DATA_SOURCE_LEGACY_PRIM_H
27 #define HD_LEGACY_PRIMTYPE_TOKENS \
39 #define HD_LEGACY_FLAG_TOKENS \
73 HdDataSourceBaseHandle _GetPrimvarsDataSource();
74 HdDataSourceBaseHandle _GetExtComputationPrimvarsDataSource();
75 HdDataSourceBaseHandle _GetMaterialBindingsDataSource();
76 HdDataSourceBaseHandle _GetXformDataSource();
77 HdDataSourceBaseHandle _GetMaterialDataSource();
78 HdDataSourceBaseHandle _GetIntegratorDataSource();
79 HdDataSourceBaseHandle _GetSampleFilterDataSource();
80 HdDataSourceBaseHandle _GetDisplayFilterDataSource();
81 HdDataSourceBaseHandle _GetDisplayStyleDataSource();
82 HdDataSourceBaseHandle _GetInstancedByDataSource();
83 HdDataSourceBaseHandle _GetDataSharingDataSource();
84 HdDataSourceBaseHandle _GetInstancerTopologyDataSource();
85 HdDataSourceBaseHandle _GetVolumeFieldBindingDataSource();
86 HdDataSourceBaseHandle _GetCoordSysBindingDataSource();
87 HdDataSourceBaseHandle _GetVisibilityDataSource();
88 HdDataSourceBaseHandle _GetPurposeDataSource();
89 HdDataSourceBaseHandle _GetExtentDataSource();
90 HdDataSourceBaseHandle _GetCategoriesDataSource();
91 HdDataSourceBaseHandle _GetInstanceCategoriesDataSource();
94 bool _IsInstanceable();
102 std::atomic_bool _primvarsBuilt;
103 bool _extComputationPrimvarsBuilt : 1;
105 HdContainerDataSourceAtomicHandle _primvars;
106 HdContainerDataSourceHandle _extComputationPrimvars;
111 HdContainerDataSourceAtomicHandle _instancerTopology;
TfTokenVector GetNames() override
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
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#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)