24 #ifndef PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
25 #define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_H
33 #define HDGPGENERATIVEPROCEDURAL_TOKENS \
34 ((generativeProcedural, "hydraGenerativeProcedural")) \
35 ((proceduralType, "hdGp:proceduralType")) \
72 const HdSceneIndexBaseRefPtr &inputScene) = 0;
112 const HdSceneIndexBaseRefPtr &inputScene,
122 const HdSceneIndexBaseRefPtr &inputScene,
123 const SdfPath &childPrimPath) = 0;
197 const SdfPath _proceduralPrimPath;
virtual HDGP_API ~HdGpGenerativeProcedural()
#define HDGPGENERATIVEPROCEDURAL_TOKENS
TF_DECLARE_PUBLIC_TOKENS(HdGpGenerativeProceduralTokens, HDGPGENERATIVEPROCEDURAL_TOKENS)
HDGP_API HdGpGenerativeProcedural(const SdfPath &proceduralPrimPath)
virtual HdSceneIndexPrim GetChildPrim(const HdSceneIndexBaseRefPtr &inputScene, const SdfPath &childPrimPath)=0
virtual ChildPrimTypeMap Update(const HdSceneIndexBaseRefPtr &inputScene, const ChildPrimTypeMap &previousResult, const DependencyMap &dirtiedDependencies, HdSceneIndexObserver::DirtiedPrimEntries *outputDirtiedPrims)=0
static const HdDataSourceLocator & GetChildNamesDependencyKey()
virtual DependencyMap UpdateDependencies(const HdSceneIndexBaseRefPtr &inputScene)=0
TfDenseHashMap< SdfPath, TfToken, TfHash > ChildPrimTypeMap
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual AsyncState AsyncUpdate(const ChildPrimTypeMap &previousResult, ChildPrimTypeMap *outputPrimTypes, HdSceneIndexObserver::DirtiedPrimEntries *outputDirtiedPrims)
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual bool AsyncBegin(bool asyncEnabled)
HDGP_API const SdfPath & _GetProceduralPrimPath()