NVIDIA Iray: Base API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Plugin Support

Support for dynamically loaded plugins. More...

Classes

class   mi::base::Plugin
  The abstract base class for plugins. More...
 

Typedefs

typedef Plugin *  mi::base::Plugin_factory (unsigned int index, void *context)
  Typedef for the initializer function to be provided by every plugin. More...
 

Detailed Description

Support for dynamically loaded plugins.

Typedef Documentation

typedef Plugin* mi::base::Plugin_factory(unsigned int index, void *context)

Typedef for the initializer function to be provided by every plugin.

The initializer function is used to obtain an instance of every plugin class. Note that the actual definition of the initializer function needs to be marked as

extern "C"
MI_DLL_EXPORT
Parameters
index The index of the plugin.
context The execution context for the plugin.