NVIDIA Iray SDK API nvidia_logo_transpbg.gif 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...
 
class  mi::base::IPlugin_descriptor
 Represents a plugin. 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
indexThe index of the plugin.
contextThe execution context for the plugin.