iimporter.h File Reference
Description
Abstract interface for importers.
Code Example
iimporter.h
/***************************************************************************************************
* Copyright 2024 NVIDIA Corporation. All rights reserved.
**************************************************************************************************/
#ifndef MI_NEURAYLIB_IIMPORTER_H
#define MI_NEURAYLIB_IIMPORTER_H
#include <mi/base/interface_declare.h>
#include <mi/neuraylib/iimpexp_base.h>
namespace mi {
class IMap;
namespace neuraylib {
class IImpexp_state;
class IImport_result;
class IReader;
class ITransaction;
class IImporter :
public base::Interface_declare<0x1288a8b7,0x13ba,0x4010,0xb9,0x0c,0xbc,0xf5,0xca,0x49,0x70,0xdd,
neuraylib::IImpexp_base>
{
public:
virtual bool test_file_type(const char* extension, const IReader* reader) const = 0;
using IImpexp_base::test_file_type;
virtual IImport_result* import_elements(
ITransaction* transaction,
const char* extension,
IReader* reader,
const IMap* importer_options,
IImpexp_state* state) const = 0;
};
// end group mi_neuray_impexp
} // namespace neuraylib
} // namespace mi
#endif // MI_NEURAYLIB_IIMPORTER_H
Namespaces
- namespace
- Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
- namespace
- Namespace for the neuray API. More...
Classes
- class
- Abstract interface for importers. More...