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