mi::neuraylib::IPlugin Class Reference
[Extensions and Plugins]
Description
The basic interface to be implemented by neuray API plugins. Neuray API plugins need to return MI_NEURAYLIB_PLUGIN_TYPE in mi::base::Plugin::get_type().
Public Member Functions
- virtual bool exit( IPlugin_api* plugin_api) =0
- De-initializes the plugin. More...
- virtual bool init( IPlugin_api* plugin_api) =0
- Initializes the plugin. More...
Member Functions
- virtual bool mi::neuraylib::IPlugin::exit( IPlugin_api* plugin_api) [pure virtual]
-
De-initializes the plugin.
Parameters
- plugin_api
- Provides access to API components available for plugins.
Returns
true in case of success, and false otherwise.
- virtual bool mi::neuraylib::IPlugin::init( IPlugin_api* plugin_api) [pure virtual]
-
Initializes the plugin.
Parameters
- plugin_api
- Provides access to API components available for plugins.
Returns
true in case of success, and false otherwise.