Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
imdl_compatibility_api.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H
8 #define MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H
9 
11 #include <mi/base/enums.h>
12 
13 namespace mi {
14 
15 class IArray;
16 
17 namespace neuraylib {
18 
19 class IMdl_execution_context;
20 
25 class IMdl_compatibility_api : public
28  base::Interface_declare<0x5f094722,0xfe19,0x4372,0x92,0xcf,0x5d,0x9f,0x57,0xa7,0x6,0x98>
29 {
30 public:
45  virtual Sint32 compare_modules(
46  const char* module_name,
47  const char* repl_file_name,
48  const IArray* search_paths,
49  IMdl_execution_context* context) const = 0;
50 
65  virtual Sint32 compare_archives(
66  const char* archive_fname1,
67  const char* archive_fname2,
68  const IArray* search_paths,
69  IMdl_execution_context* context) const = 0;
70 };
71  // end group mi_neuray_mdl_types
73 
74 } // namespace neuraylib
75 } // namespace mi
76 
77 #endif // MI_NEURAYLIB_IMDL_COMPATIBILITY_API_H