OMNI_MODULE_REQUIRE_CARB_IPROFILER
Defined in omni/core/ModuleExports.h
-
OMNI_MODULE_REQUIRE_CARB_IPROFILER(exp_)
Requires that the owning omni::core::ITypeFactory provides a Carbonite carb::profiler::IProfiler g_carbProfiler.
By default, the owning omni::core::ITypeFactory will try to populate the module’s g_carbProfiler, but will silently fail if it cannot. This macro tells the omni::core::ITypeFactory to fail the module’s load.