MDL SDK API
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
55
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
"2024.0.4"
77
80
#define
MI_NEURAYLIB_PLUGIN_TYPE
"neuray API v46"
81
82
// Enables features that were deprecated with version 14.0.
83
// #define
MI_NEURAYLIB_DEPRECATED_
14_0
84
85
// Prefixes names of deprecated methods unless deprecated features are enabled.
86
#ifdef
MI_NEURAYLIB_DEPRECATED_
14_0
87
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
14_0(X) X
88
#else
89
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
14_0(X) deprecated_##X
90
#endif
91
92
// Enables features that were deprecated with version 14.1.
93
// #define
MI_NEURAYLIB_DEPRECATED_
14_1
94
95
// Prefixes names of deprecated methods unless deprecated features are enabled.
96
#ifdef
MI_NEURAYLIB_DEPRECATED_
14_1
97
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
14_1(X) X
98
#else
99
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
14_1(X) deprecated_##X
100
#endif
101
102
// Enables features that were deprecated with version 15.0.
103
// #define
MI_NEURAYLIB_DEPRECATED_
15_0
104
105
// Prefixes names of deprecated methods unless deprecated features are enabled.
106
#ifdef
MI_NEURAYLIB_DEPRECATED_
15_0
107
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
15_0(X) X
108
#else
109
#define
MI_NEURAYLIB_DEPRECATED_METHOD_
15_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
#ifdef
MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
117
#ifdef
MI_PLATFORM_WINDOWS
118
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
has been removed"
)
119
#else
120
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_LEGACY_MDL_API
has been removed
121
#endif
122
#endif
123
124
#ifdef
MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
125
#ifdef
MI_PLATFORM_WINDOWS
126
#pragma message("Support for macro "
\
127
"
;MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
" \
128
"has been removed")
129
#else
130
#warning Support for macro \
131
MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
\
132
has been removed
133
#endif
134
#endif
135
136
#ifdef
MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
137
#ifdef
MI_PLATFORM_WINDOWS
138
#pragma message("Support for macro "
\
139
"
;MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
" \
140
"has been removed")
141
#else
142
#warning Support for macro \
143
MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
\
144
has been removed
145
#endif
146
#endif
147
148
#ifdef
MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
149
#ifdef
MI_PLATFORM_WINDOWS
150
#pragma message("Support for macro "
\
151
"
;MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
has been removed")
152
#else
153
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
has been removed
154
#endif
155
#endif
156
157
#ifdef
MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
158
#ifdef
MI_PLATFORM_WINDOWS
159
#pragma message("Support for macro "
\
160
"
;MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
has been removed")
161
#else
162
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_NO_EXPLICIT_TRANSACTION
has been removed
163
#endif
164
#endif
165
166
#ifdef
MI_NEURAYLIB_DEPRECATED_
7_1
167
#ifdef
MI_PLATFORM_WINDOWS
168
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
7_1 has been removed"
)
169
#else
170
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
7_1 has been removed
171
#endif
172
#endif
173
174
#ifdef
MI_NEURAYLIB_DEPRECATED_
7_2
175
#ifdef
MI_PLATFORM_WINDOWS
176
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
7_2 has been removed"
)
177
#else
178
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
7_2 has been removed
179
#endif
180
#endif
181
182
#ifdef
MI_NEURAYLIB_DEPRECATED_
7_3
183
#ifdef
MI_PLATFORM_WINDOWS
184
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
7_3 has been removed"
)
185
#else
186
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
7_3 has been removed
187
#endif
188
#endif
189
190
#ifdef
MI_NEURAYLIB_DEPRECATED_
8_0
191
#ifdef
MI_PLATFORM_WINDOWS
192
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
8_0 has been removed"
)
193
#else
194
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
8_0 has been removed
195
#endif
196
#endif
197
198
#ifdef
MI_NEURAYLIB_DEPRECATED_
8_1
199
#ifdef
MI_PLATFORM_WINDOWS
200
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
8_1 has been removed"
)
201
#else
202
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
8_1 has been removed
203
#endif
204
#endif
205
206
#ifdef
MI_NEURAYLIB_DEPRECATED_
9_1
207
#ifdef
MI_PLATFORM_WINDOWS
208
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
9_1 has been removed"
)
209
#else
210
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
9_1 has been removed
211
#endif
212
#endif
213
214
#ifdef
MI_NEURAYLIB_DEPRECATED_
11_1
215
#ifdef
MI_PLATFORM_WINDOWS
216
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
11_1 has been removed"
)
217
#else
218
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
11_1 has been removed
219
#endif
220
#endif
221
222
#ifdef
MI_NEURAYLIB_DEPRECATED_
12_1
223
#ifdef
MI_PLATFORM_WINDOWS
224
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
12_1 has been removed"
)
225
#else
226
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
12_1 has been removed
227
#endif
228
#endif
229
230
#ifdef
MI_NEURAYLIB_DEPRECATED_
13_0
231
#ifdef
MI_PLATFORM_WINDOWS
232
#pragma message("Support for macro
MI_NEURAYLIB_DEPRECATED_
13_0 has been removed"
)
233
#else
234
#warning Support for macro
MI_NEURAYLIB_DEPRECATED_
13_0 has been removed
235
#endif
236
#endif
237
// end group mi_neuray_version
239
240
#endif
//
MI_NEURAYLIB_VERSION_H
config.h
Configuration of the Base API.
3 October 2024, 19:55, rev377400.3959
© 2024 NVIDIA Corporation.
All rights reserved.