neuray API Programmer's Manual

iplugin_configuration.h File Reference

Description

API component for plugin related settings.

Code Example

iplugin_configuration.h

‎/***************************************************************************************************
 * Copyright 2024 NVIDIA Corporation. All rights reserved.
 **************************************************************************************************/

#ifndef MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H
#define MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H

#include <mi/base/plugin.h>
#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {


class IPlugin_configuration : public
    mi::base::Interface_declare<0x11285c46,0x9791,0x498d,0xbd,0xfe,0x8f,0x51,0x84,0x81,0x98,0xd4>
{
public:
    virtual Sint32 
               load_plugin_library( const char* path) = 0;

    virtual Sint32 
               load_plugins_from_directory( const char* path) = 0;

    virtual Size 
               get_plugin_length() const = 0;

    virtual base::IPlugin_descriptor* get_plugin_descriptor( Size index) const = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IPLUGIN_CONFIGURATION_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
This interface is used to load plugins and to query information about loaded plugins. More...