NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
version.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
8 //*****************************************************************************
9 
10 #ifndef MI_NEURAYLIB_VERSION_H
11 #define MI_NEURAYLIB_VERSION_H
12 
13 #include <mi/base/config.h>
14 
28 #define MI_NEURAYLIB_API_VERSION 10
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 0
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 "2014"
77 
80 #define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v9"
81 
82 // Enables features that were deprecated with version 5.0.
83 // #define MI_NEURAYLIB_DEPRECATED_5_0
84 
85 // Enables features that were deprecated with version 5.1.
86 // #define MI_NEURAYLIB_DEPRECATED_5_1
87 
88 // Prefixes names of deprecated methods unless deprecated features are enabled.
89 #ifdef MI_NEURAYLIB_DEPRECATED_5_0
90 #define MI_NEURAYLIB_DEPRECATED_METHOD_5_0(X) X
91 #else
92 #define MI_NEURAYLIB_DEPRECATED_METHOD_5_0(X) deprecated_##X
93 #endif
94 
95 // Prefixes names of deprecated classes unless deprecated features are enabled.
96 #ifdef MI_NEURAYLIB_DEPRECATED_5_0
97 #define MI_NEURAYLIB_DEPRECATED_CLASS_5_0(X) X
98 #else
99 #define MI_NEURAYLIB_DEPRECATED_CLASS_5_0(X) deprecated_##X
100 #endif
101 
102 // Prefixes names of deprecated methods unless deprecated features are enabled.
103 #ifdef MI_NEURAYLIB_DEPRECATED_5_1
104 #define MI_NEURAYLIB_DEPRECATED_METHOD_5_1(X) X
105 #else
106 #define MI_NEURAYLIB_DEPRECATED_METHOD_5_1(X) deprecated_##X
107 #endif
108 
109 // Prefixes names of deprecated classes unless deprecated features are enabled.
110 #ifdef MI_NEURAYLIB_DEPRECATED_5_1
111 #define MI_NEURAYLIB_DEPRECATED_CLASS_5_1(X) X
112 #else
113 #define MI_NEURAYLIB_DEPRECATED_CLASS_5_1(X) deprecated_##X
114 #endif
115 
116 // Enables the deprecated default privacy level of zero in
117 // #mi::neuraylib::ITransaction::store().
118 // #define MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
119  // end group mi_neuray_version
121 
122 #endif // MI_NEURAYLIB_VERSION_H