carb::configureFramework
Defined in carb/StartupUtils.h
-
inline void carb::configureFramework(const StartupFrameworkDesc ¶ms)
Configures the framework given a slew of input parameters.
First see carb::StartupFrameworkDesc for an idea of the type of data this function accepts.
At a high-level this function:
Configures logging with config file
Loads plugins according to config file with (see detail::loadPluginsFromConfig())
Configures default plugins according to config file (see detail::setDefaultPluginsFromConfig())
Starts the default profiler (if loaded)
Rather than this function, consider using OMNI_CORE_INIT(), which handles both starting and shutting down the framework for you in your application.