HDK
|
#include <legacyPrimSceneIndex.h>
Static Public Member Functions | |
static HdLegacyPrimSceneIndexRefPtr | New () |
Static Public Member Functions inherited from HdRetainedSceneIndex | |
static HD_API HdRetainedSceneIndexRefPtr | New () |
Creates a new retained scene index. More... | |
Static Public Member Functions inherited from TfRefBase | |
static TF_API void | SetUniqueChangedListener (UniqueChangedListener listener) |
Extends HdRetainedSceneIndex to instantiate and dirty HdDataSourceLegacyPrim data sources.
During emulation of legacy HdSceneDelegates, HdRenderIndex forwards prim insertion calls here to produce a comparable HdSceneIndex representation
Definition at line 43 of file legacyPrimSceneIndex.h.
void HdLegacyPrimSceneIndex::AddLegacyPrim | ( | SdfPath const & | id, |
TfToken const & | type, | ||
HdSceneDelegate * | sceneDelegate | ||
) |
custom insertion wrapper called by HdRenderIndex during population of legacy HdSceneDelegates
|
overridevirtual |
extends to also call DirtyPrim on HdDataSourceLegacyPrim
Reimplemented from HdRetainedSceneIndex.
|
inlinestatic |
Definition at line 47 of file legacyPrimSceneIndex.h.
Remove only the prim at id
without affecting children.
If id
has children, it is replaced by an entry with no type and no data source. If id
does not have children, it is removed from the retained scene index.
This is called by HdRenderIndex on behalf of legacy HdSceneDelegates to emulate the original behavior of Remove{B,R,S}Prim, which did not remove children.