Iray SDK API nvidia_logo_transpbg.gif Up
iplugin.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IPLUGIN_H
8#define MI_NEURAYLIB_IPLUGIN_H
9
11#include <mi/base/plugin.h>
12
13namespace mi {
14
15namespace neuraylib {
16
17class IPlugin_api;
18
28{
29public:
34 virtual bool init( IPlugin_api* plugin_api) = 0;
35
40 virtual bool exit( IPlugin_api* plugin_api) = 0;
41};
42 // end group mi_neuray_plugins
44
45} // namespace neuraylib
46
47} // namespace mi
48
49#endif // MI_NEURAYLIB_INEURAY_H
The abstract base class for plugins.
Definition: plugin.h:34
This abstract interface gives access to the Iray SDK API to plugins.
Definition: iplugin_api.h:27
The basic interface to be implemented by Iray SDK API plugins.
Definition: iplugin.h:28
virtual bool exit(IPlugin_api *plugin_api)=0
De-initializes the plugin.
virtual bool init(IPlugin_api *plugin_api)=0
Initializes the plugin.
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Base class for all plugins.