Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
neuraylib/version.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
8 
9 #ifndef MI_NEURAYLIB_VERSION_H
10 #define MI_NEURAYLIB_VERSION_H
11 
12 #include <mi/base/config.h>
13 
26 #define MI_NEURAYLIB_API_VERSION 40
31 
32 // The following three to four macros define the API version.
33 // The macros thereafter are defined in terms of the first four.
34 
38 #define MI_NEURAYLIB_VERSION_MAJOR 4
39 
43 #define MI_NEURAYLIB_VERSION_MINOR 1
44 
53 #define MI_NEURAYLIB_VERSION_QUALIFIER ""
54 
55 // This macro is defined if #MI_NEURAYLIB_VERSION_QUALIFIER is the empty string \c "".
56 #define MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
57 
60 #define MI_NEURAYLIB_VERSION_STRING MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MAJOR) "." \
61  MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MINOR)
62 
66 #ifdef MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
67 #define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING
68 #else
69 #define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING "-" \
70  MI_NEURAYLIB_VERSION_QUALIFIER
71 #endif // MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
72 
74 #define MI_NEURAYLIB_PRODUCT_VERSION_STRING "2020.0.2"
75 
78 #define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v31"
79 
80 // Enables features that were deprecated with version 9.1.
81 //#define MI_NEURAYLIB_DEPRECATED_9_1
82 
83 #ifdef MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
84 #warning Support for macro \
85  MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API \
86  has been removed
87 #endif
88 
89 #ifdef MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
90 #warning Support for macro \
91  MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
92  has been removed
93 #endif
94 
95 #ifdef MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
96 #warning Support for macro \
97  MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
98  has been removed
99 #endif
100 
101 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
102 #warning Support for macro MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION has been removed
103 #endif
104 
105 #ifdef MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
106 #warning Support for macro MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION has been removed
107 #endif
108 
109 #ifdef MI_NEURAYLIB_DEPRECATED_7_1
110 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_1 has been removed
111 #endif
112 
113 #ifdef MI_NEURAYLIB_DEPRECATED_7_2
114 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_2 has been removed
115 #endif
116 
117 #ifdef MI_NEURAYLIB_DEPRECATED_7_3
118 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_3 has been removed
119 #endif
120 
121 #ifdef MI_NEURAYLIB_DEPRECATED_8_0
122 #warning Support for macro MI_NEURAYLIB_DEPRECATED_8_0 has been removed
123 #endif
124 
125 #ifdef MI_NEURAYLIB_DEPRECATED_8_1
126 #warning Support for macro MI_NEURAYLIB_DEPRECATED_8_1 has been removed
127 #endif
128 
129 #ifdef MI_NEURAYLIB_DEPRECATED_9_1
130 #warning Support for macro MI_NEURAYLIB_DEPRECATED_9_1 has been removed
131 #endif
132  // end group mi_neuray_version
134 
135 #endif // MI_NEURAYLIB_VERSION_H