Iray Programmer's Manual

The mi_importer plugin


Use the mi_importer plugin to enable the import of a scene to the NVIDIA Iray .mi file format. To enable the plugin it must be loaded in neuray using either the mi::neuraylib::IPlugin_configuration::load_plugin_library() or the mi::neuraylib::IPlugin_configuration::load_plugins_from_directory() method.


In addition to the standard options described for mi::neuraylib::IImporter::import_elements() the mi_importer plugin has an additional configuration option:

  • mi_progress_callback of type mi::neuraylib::IProgress_callback. When configured, this callback is used to report the progress of the import operation.