neuray API Programmer's Manual

imdl_factory.h File Reference

Description

API component that allows to create MDL presets.

Code Example

imdl_factory.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IMDL_FACTORY_H
#define MI_NEURAYLIB_IMDL_FACTORY_H

#include <mi/base/interface_declare.h>

namespace mi {

class IArray;

namespace neuraylib {

class ITransaction;


class IMdl_factory : public
    mi::base::Interface_declare<0xba936279,0x4b71,0x42a4,0x95,0x37,0x98,0x69,0x97,0xb3,0x47,0x72>
{
public:
    //
    virtual Sint32 
               create_presets(
        ITransaction* transaction, const char* module_name, const IArray* preset_data) = 0;
};
 // end group mi_neuray_materials

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IMDL_FACTORY_H

Namespaces

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

Classes

class 
Factory for MDL interfaces, e.g., modules with presets. More...