OMNI_GRAPH_EXEC_REGISTER_GLOBAL_PASS#

OMNI_GRAPH_EXEC_REGISTER_GLOBAL_PASS(class_)#

Adds an omni::graph::exec::unstable::IGlobalPass to a list to be registered as type omni::graph::exec::unstable::PassType::eGlobal at the module’s (i.e.g DLL) startup.

This macro should be called at global scope (not within a function/method).

In order to avoid accidentally registering a pass twice, it is recommended to call this macro from a *.cpp* file rather than a *.h* file.

See Pass Registration for more information about pass registration.

Parameters: