MDL SDK API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
version.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2022 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 47
33 
34 // The following three to four macros define the API version.
35 // The macros thereafter are defined in terms of the first four.
36 
40 #define MI_NEURAYLIB_VERSION_MAJOR 4
41 
45 #define MI_NEURAYLIB_VERSION_MINOR 1
46 
55 #define MI_NEURAYLIB_VERSION_QUALIFIER ""
56 
57 // This macro is defined if #MI_NEURAYLIB_VERSION_QUALIFIER is the empty string \c "".
58 #define MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
59 
62 #define MI_NEURAYLIB_VERSION_STRING MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MAJOR) "." \
63  MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MINOR)
64 
68 #ifdef MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
69 #define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING
70 #else
71 #define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING "-" \
72  MI_NEURAYLIB_VERSION_QUALIFIER
73 #endif // MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
74 
76 #define MI_NEURAYLIB_PRODUCT_VERSION_STRING "2021.1.2"
77 
80 #define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v39"
81 
82 // Enables features that were deprecated with version 11.1.
83 // #define MI_NEURAYLIB_DEPRECATED_11_1
84 
85 // Prefixes names of deprecated methods unless deprecated features are enabled.
86 #ifdef MI_NEURAYLIB_DEPRECATED_11_1
87 #define MI_NEURAYLIB_DEPRECATED_METHOD_11_1(X) X
88 #else
89 #define MI_NEURAYLIB_DEPRECATED_METHOD_11_1(X) deprecated_##X
90 #endif
91 
92 // Enables features that were deprecated with version 12.0.
93 // #define MI_NEURAYLIB_DEPRECATED_12_0
94 
95 // Prefixes names of deprecated methods unless deprecated features are enabled.
96 #ifdef MI_NEURAYLIB_DEPRECATED_12_0
97 #define MI_NEURAYLIB_DEPRECATED_METHOD_12_0(X) X
98 #else
99 #define MI_NEURAYLIB_DEPRECATED_METHOD_12_0(X) deprecated_##X
100 #endif
101 
102 // Enables features that were deprecated with version 12.1.
103 // #define MI_NEURAYLIB_DEPRECATED_12_1
104 
105 // Prefixes names of deprecated methods unless deprecated features are enabled.
106 #ifdef MI_NEURAYLIB_DEPRECATED_12_1
107 #define MI_NEURAYLIB_DEPRECATED_METHOD_12_1(X) X
108 #else
109 #define MI_NEURAYLIB_DEPRECATED_METHOD_12_1(X) deprecated_##X
110 #endif
111 
112 
113 #ifdef MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
114 #ifdef MI_PLATFORM_WINDOWS
115 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API has been removed")
116 #else
117 #warning Support for macro MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API has been removed
118 #endif
119 #endif
120 
121 #ifdef MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
122 #ifdef MI_PLATFORM_WINDOWS
123 #pragma message("Support for macro " \
124  "MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO " \
125  "has been removed")
126 #else
127 #warning Support for macro \
128  MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
129  has been removed
130 #endif
131 #endif
132 
133 #ifdef MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
134 #ifdef MI_PLATFORM_WINDOWS
135 #pragma message("Support for macro " \
136  "MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO " \
137  "has been removed")
138 #else
139 #warning Support for macro \
140  MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
141  has been removed
142 #endif
143 #endif
144 
145 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
146 #ifdef MI_PLATFORM_WINDOWS
147 #pragma message("Support for macro " \
148  "MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION has been removed")
149 #else
150 #warning Support for macro MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION has been removed
151 #endif
152 #endif
153 
154 #ifdef MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
155 #ifdef MI_PLATFORM_WINDOWS
156 #pragma message("Support for macro " \
157  "MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION has been removed")
158 #else
159 #warning Support for macro MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION has been removed
160 #endif
161 #endif
162 
163 #ifdef MI_NEURAYLIB_DEPRECATED_7_1
164 #ifdef MI_PLATFORM_WINDOWS
165 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_1 has been removed")
166 #else
167 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_1 has been removed
168 #endif
169 #endif
170 
171 #ifdef MI_NEURAYLIB_DEPRECATED_7_2
172 #ifdef MI_PLATFORM_WINDOWS
173 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_2 has been removed")
174 #else
175 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_2 has been removed
176 #endif
177 #endif
178 
179 #ifdef MI_NEURAYLIB_DEPRECATED_7_3
180 #ifdef MI_PLATFORM_WINDOWS
181 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_3 has been removed")
182 #else
183 #warning Support for macro MI_NEURAYLIB_DEPRECATED_7_3 has been removed
184 #endif
185 #endif
186 
187 #ifdef MI_NEURAYLIB_DEPRECATED_8_0
188 #ifdef MI_PLATFORM_WINDOWS
189 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_8_0 has been removed")
190 #else
191 #warning Support for macro MI_NEURAYLIB_DEPRECATED_8_0 has been removed
192 #endif
193 #endif
194 
195 #ifdef MI_NEURAYLIB_DEPRECATED_8_1
196 #ifdef MI_PLATFORM_WINDOWS
197 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_8_1 has been removed")
198 #else
199 #warning Support for macro MI_NEURAYLIB_DEPRECATED_8_1 has been removed
200 #endif
201 #endif
202 
203 #ifdef MI_NEURAYLIB_DEPRECATED_9_1
204 #ifdef MI_PLATFORM_WINDOWS
205 #pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_9_1 has been removed")
206 #else
207 #warning Support for macro MI_NEURAYLIB_DEPRECATED_9_1 has been removed
208 #endif
209 #endif
210  // end group mi_neuray_version
212 
213 #endif // MI_NEURAYLIB_VERSION_H