Defined in carb/PluginUtils.h


Macro to declare a “minimal” plugin.

Plugins in the Carbonite ecosystem tend to depend on other plugins. For example, plugins often want to access Carbonite’s logging system via carb::logging::ILogging. When calling CARB_PLUGIN_IMPL, boiler-plate code is injected to ensure the plugin can use these “common” plugins.

This macro avoids taking dependencies on these “common” plugins. When calling this macro, only the “minimal” boiler plate code is generated in order for the plugin to work. It’s up to the developer to add additional code to make the plugin compatible with any desired “common” plugin.

Use of this macro is rare in Omniverse.