HDK
|
#include <generativeProcedural.h>
Public Types | |
enum | AsyncState { Continuing = 0, Finished, ContinuingWithNewChanges, FinishedWithNewChanges } |
using | DependencyMap = TfDenseHashMap< SdfPath, HdDataSourceLocatorSet, TfHash > |
using | ChildPrimTypeMap = TfDenseHashMap< SdfPath, TfToken, TfHash > |
Public Member Functions | |
HDGP_API | HdGpGenerativeProcedural (const SdfPath &proceduralPrimPath) |
virtual HDGP_API | ~HdGpGenerativeProcedural () |
virtual DependencyMap | UpdateDependencies (const HdSceneIndexBaseRefPtr &inputScene)=0 |
virtual ChildPrimTypeMap | Update (const HdSceneIndexBaseRefPtr &inputScene, const ChildPrimTypeMap &previousResult, const DependencyMap &dirtiedDependencies, HdSceneIndexObserver::DirtiedPrimEntries *outputDirtiedPrims)=0 |
virtual HdSceneIndexPrim | GetChildPrim (const HdSceneIndexBaseRefPtr &inputScene, const SdfPath &childPrimPath)=0 |
virtual bool | AsyncBegin (bool asyncEnabled) |
virtual AsyncState | AsyncUpdate (const ChildPrimTypeMap &previousResult, ChildPrimTypeMap *outputPrimTypes, HdSceneIndexObserver::DirtiedPrimEntries *outputDirtiedPrims) |
Static Public Member Functions | |
static const HdDataSourceLocator & | GetChildNamesDependencyKey () |
Protected Member Functions | |
HDGP_API const SdfPath & | _GetProceduralPrimPath () |
HdGpGenerativeProcedural is the base class for procedurals which have full access to an input scene in order to create and update a hierarchy of child prims within a hydra scene index.
They are registered for use via a corresponding HdGpGenerativeProceduralPlugin.
Definition at line 49 of file generativeProcedural.h.
Definition at line 62 of file generativeProcedural.h.
using HdGpGenerativeProcedural::DependencyMap = TfDenseHashMap<SdfPath, HdDataSourceLocatorSet, TfHash> |
Definition at line 59 of file generativeProcedural.h.
Enumerator | |
---|---|
Continuing | |
Finished | |
ContinuingWithNewChanges | |
FinishedWithNewChanges |
Definition at line 149 of file generativeProcedural.h.
|
virtual |
|
virtual |
|
virtual |
|
static |
|
pure virtual |
|
pure virtual |
|
pure virtual |