OMNI_PYTHON_GLOBALS

Defined in omni/python/PyBind.h

OMNI_PYTHON_GLOBALS(name_, desc_)

Declare a compilation unit as script language bindings.

This macro should be called from each Python module to correctly initialize bindings.

Parameters
  • name_ – The name of the module (e.g. “omni.core-pyd”). This is passed to CARB_GLOBALS_EX which will be used as g_carbClientName for the module. This will also be the name of the module’s default logging channel.

  • desc_ – The description passed to OMNI_GLOBALS_ADD_DEFAULT_CHANNEL to describe the Python module’s default logging channel.