OMNI_GRAPH_EXEC_REGISTER_POPULATE_PASS#
-
OMNI_GRAPH_EXEC_REGISTER_POPULATE_PASS(class_, defNameToPopulate_)#
Adds an omni::graph::exec::unstable::IPopulatePass to a list to be registered as type omni::graph::exec::unstable::PassType::ePopulate 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:
class_ – An implementation of omni::graph::exec::unstable::IPopulatePass.
defNameToPopulate_ – The name of the definition, omni::graph::exec::unstable::IDef, this pass should populate. An example would be “OmniGraph”.