omni::graph::exec::unstable::registerModulePasses

Defined in omni/graph/exec/unstable/PassRegistry.h

inline void omni::graph::exec::unstable::registerModulePasses() noexcept

Registers the module’s omni::graph::exec::unstable::IPass factories with omni::graph::exec::unstable::IPassRegistry.

This function should be called in the module’s function registered with omni::core::OMNI_MODULE_ON_MODULE_STARTED(). This is usually called onStarted().

When developing a Kit extension, prefer calling OMNI_KIT_EXEC_CORE_ON_MODULE_STARTED() rather than this function.

See Pass Registration for more information about pass registration.

Thread Safety

This function is not thread safe.