MDL SDK API nvidia_logo_transpbg.gif Up
version.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2025 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
32#define MI_NEURAYLIB_API_VERSION 57
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 "2025.0.4"
77
80#define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v48"
81
82// Enables features that were deprecated with version 15.0.
83// #define MI_NEURAYLIB_DEPRECATED_15_0
84
85// Prefixes names of deprecated methods unless deprecated features are enabled.
86#ifdef MI_NEURAYLIB_DEPRECATED_15_0
87#define MI_NEURAYLIB_DEPRECATED_METHOD_15_0(X) X
88#else
89#define MI_NEURAYLIB_DEPRECATED_METHOD_15_0(X) deprecated_##X
90#endif
91
92// Enables features that were deprecated with version 15.1.
93// #define MI_NEURAYLIB_DEPRECATED_15_1
94
95// Prefixes names of deprecated methods unless deprecated features are enabled.
96#ifdef MI_NEURAYLIB_DEPRECATED_15_1
97#define MI_NEURAYLIB_DEPRECATED_METHOD_15_1(X) X
98#else
99#define MI_NEURAYLIB_DEPRECATED_METHOD_15_1(X) deprecated_##X
100#endif
101
102// Enables features that were deprecated with version 16.0.
103// #define MI_NEURAYLIB_DEPRECATED_16_0
104
105// Prefixes names of deprecated methods unless deprecated features are enabled.
106#ifdef MI_NEURAYLIB_DEPRECATED_16_0
107#define MI_NEURAYLIB_DEPRECATED_METHOD_16_0(X) X
108#else
109#define MI_NEURAYLIB_DEPRECATED_METHOD_16_0(X) deprecated_##X
110#endif
111
112// Enables the deprecated default privacy level of zero in
113// #mi::neuraylib::ITransaction::copy().
114// #define MI_NEURAYLIB_DEPRECATED_ITRANSACTION_COPY_DEFAULT_PRIVACY_LEVEL_ZERO
115
116// Re-enables the removed FORCE_32_BIT enumerators.
117// #define MI_NEURAYLIB_DEPRECATED_FORCE_32_BIT
118
119#ifdef MI_NEURAYLIB_DEPRECATED_FORCE_32_BIT
120#define MI_NEURAYLIB_DEPRECATED_ENUM_VALUE(X,Y) , X = Y
121#else
122#define MI_NEURAYLIB_DEPRECATED_ENUM_VALUE(X,Y)
123#endif
124
125#ifdef MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
126#ifdef MI_PLATFORM_WINDOWS
127#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API has been removed")
128#else
129#warning Support for macro MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API has been removed
130#endif
131#endif
132
133#ifdef MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
134#ifdef MI_PLATFORM_WINDOWS
135#pragma message("Support for macro " \
136 ";MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO " \
137 "has been removed")
138#else
139#warning Support for macro \
140 MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
141 has been removed
142#endif
143#endif
144
145#ifdef MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
146#ifdef MI_PLATFORM_WINDOWS
147#pragma message("Support for macro " \
148 ";MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO " \
149 "has been removed")
150#else
151#warning Support for macro \
152 MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO \
153 has been removed
154#endif
155#endif
156
157#ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
158#ifdef MI_PLATFORM_WINDOWS
159#pragma message("Support for macro " \
160 ";MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION has been removed")
161#else
162#warning Support for macro MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION has been removed
163#endif
164#endif
165
166#ifdef MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
167#ifdef MI_PLATFORM_WINDOWS
168#pragma message("Support for macro " \
169 ";MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION has been removed")
170#else
171#warning Support for macro MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION has been removed
172#endif
173#endif
174
175#ifdef MI_NEURAYLIB_DEPRECATED_7_1
176#ifdef MI_PLATFORM_WINDOWS
177#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_1 has been removed")
178#else
179#warning Support for macro MI_NEURAYLIB_DEPRECATED_7_1 has been removed
180#endif
181#endif
182
183#ifdef MI_NEURAYLIB_DEPRECATED_7_2
184#ifdef MI_PLATFORM_WINDOWS
185#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_2 has been removed")
186#else
187#warning Support for macro MI_NEURAYLIB_DEPRECATED_7_2 has been removed
188#endif
189#endif
190
191#ifdef MI_NEURAYLIB_DEPRECATED_7_3
192#ifdef MI_PLATFORM_WINDOWS
193#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_7_3 has been removed")
194#else
195#warning Support for macro MI_NEURAYLIB_DEPRECATED_7_3 has been removed
196#endif
197#endif
198
199#ifdef MI_NEURAYLIB_DEPRECATED_8_0
200#ifdef MI_PLATFORM_WINDOWS
201#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_8_0 has been removed")
202#else
203#warning Support for macro MI_NEURAYLIB_DEPRECATED_8_0 has been removed
204#endif
205#endif
206
207#ifdef MI_NEURAYLIB_DEPRECATED_8_1
208#ifdef MI_PLATFORM_WINDOWS
209#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_8_1 has been removed")
210#else
211#warning Support for macro MI_NEURAYLIB_DEPRECATED_8_1 has been removed
212#endif
213#endif
214
215#ifdef MI_NEURAYLIB_DEPRECATED_9_1
216#ifdef MI_PLATFORM_WINDOWS
217#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_9_1 has been removed")
218#else
219#warning Support for macro MI_NEURAYLIB_DEPRECATED_9_1 has been removed
220#endif
221#endif
222
223#ifdef MI_NEURAYLIB_DEPRECATED_11_1
224#ifdef MI_PLATFORM_WINDOWS
225#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_11_1 has been removed")
226#else
227#warning Support for macro MI_NEURAYLIB_DEPRECATED_11_1 has been removed
228#endif
229#endif
230
231#ifdef MI_NEURAYLIB_DEPRECATED_12_1
232#ifdef MI_PLATFORM_WINDOWS
233#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_12_1 has been removed")
234#else
235#warning Support for macro MI_NEURAYLIB_DEPRECATED_12_1 has been removed
236#endif
237#endif
238
239#ifdef MI_NEURAYLIB_DEPRECATED_13_0
240#ifdef MI_PLATFORM_WINDOWS
241#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_13_0 has been removed")
242#else
243#warning Support for macro MI_NEURAYLIB_DEPRECATED_13_0 has been removed
244#endif
245#endif
246
247#ifdef MI_NEURAYLIB_DEPRECATED_14_0
248#ifdef MI_PLATFORM_WINDOWS
249#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_14_0 has been removed")
250#else
251#warning Support for macro MI_NEURAYLIB_DEPRECATED_14_0 has been removed
252#endif
253#endif
254
255#ifdef MI_NEURAYLIB_DEPRECATED_14_1
256#ifdef MI_PLATFORM_WINDOWS
257#pragma message("Support for macro MI_NEURAYLIB_DEPRECATED_14_1 has been removed")
258#else
259#warning Support for macro MI_NEURAYLIB_DEPRECATED_14_1 has been removed
260#endif
261#endif
262 // end group mi_neuray_version
264
265#endif // MI_NEURAYLIB_VERSION_H
Configuration of the Base API.