|
HDK
|
#include <sceneIndex.h>
Inheritance diagram for HdSceneIndexNameRegistry:Public Member Functions | |
| HD_API void | RegisterNamedSceneIndex (const std::string &name, HdSceneIndexBasePtr instance) |
| HD_API std::vector< std::string > | GetRegisteredNames () |
| HD_API HdSceneIndexBaseRefPtr | GetNamedSceneIndex (const std::string &name) |
Static Public Member Functions | |
| static HD_API HdSceneIndexNameRegistry & | GetInstance () |
Static Public Member Functions inherited from TfSingleton< HdSceneIndexNameRegistry > | |
| static HdSceneIndexNameRegistry & | GetInstance () |
| static bool | CurrentlyExists () |
| static void | SetInstanceConstructed (HdSceneIndexNameRegistry &instance) |
| static void | DeleteInstance () |
Friends | |
| class | TfSingleton< HdSceneIndexNameRegistry > |
A registry containing named instances of Hydra indexes. Scene Indexes are not automatically registered here, and must be manually added (generally by the application).
Definition at line 249 of file sceneIndex.h.
|
inlinestatic |
Returns the singleton-instance of this registry.
Definition at line 261 of file sceneIndex.h.
| HD_API HdSceneIndexBaseRefPtr HdSceneIndexNameRegistry::GetNamedSceneIndex | ( | const std::string & | name | ) |
Returns the scene index that was registered with the given name.
| HD_API std::vector<std::string> HdSceneIndexNameRegistry::GetRegisteredNames | ( | ) |
Returns the names of all registered scene indexes.
| HD_API void HdSceneIndexNameRegistry::RegisterNamedSceneIndex | ( | const std::string & | name, |
| HdSceneIndexBasePtr | instance | ||
| ) |
Registers an instance of a scene index with a given name.
|
friend |
Definition at line 252 of file sceneIndex.h.