neuraylib/version.h File Reference
Description
Major and minor version number and an optional qualifier. See Versioning of the neuray API
Code Example
neuraylib/version.h
//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************
#ifndef MI_NEURAYLIB_VERSION_H
#define MI_NEURAYLIB_VERSION_H
#include <mi/base/config.h>
#define MI_NEURAYLIB_API_VERSION 15
// The following three to four macros define the API version.
// The macros thereafter are defined in terms of the first four.
#define MI_NEURAYLIB_VERSION_MAJOR 4
#define MI_NEURAYLIB_VERSION_MINOR 0
#define MI_NEURAYLIB_VERSION_QUALIFIER ""
// This macro is defined if #MI_NEURAYLIB_VERSION_QUALIFIER is the empty string \c "".
#define MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
#define MI_NEURAYLIB_VERSION_STRING MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MAJOR) "." \
MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MINOR)
#ifdef MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
#define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING
#else
#define MI_NEURAYLIB_VERSION_QUALIFIED_STRING MI_NEURAYLIB_VERSION_STRING "-" \
MI_NEURAYLIB_VERSION_QUALIFIER
#endif // MI_NEURAYLIB_VERSION_QUALIFIER_EMPTY
#define MI_NEURAYLIB_PRODUCT_VERSION_STRING "2016"
#define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v13"
// Enables features that were deprecated with version 6.0.
// #define MI_NEURAYLIB_DEPRECATED_6_0
// Prefixes names of deprecated methods unless deprecated features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_6_0
#define MI_NEURAYLIB_DEPRECATED_METHOD_6_0(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_METHOD_6_0(X) deprecated_##X
#endif
// Prefixes names of deprecated classes unless deprecated features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_6_0
#define MI_NEURAYLIB_DEPRECATED_CLASS_6_0(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_CLASS_6_0(X) deprecated_##X
#endif
// Enables features that were deprecated with version 6.3.
// #define MI_NEURAYLIB_DEPRECATED_6_3
// Prefixes names of deprecated methods unless deprecated features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_6_3
#define MI_NEURAYLIB_DEPRECATED_METHOD_6_3(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_METHOD_6_3(X) deprecated_##X
#endif
// Prefixes names of deprecated classes unless deprecated features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_6_3
#define MI_NEURAYLIB_DEPRECATED_CLASS_6_3(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_CLASS_6_3(X) deprecated_##X
#endif
// Enables the deprecated default privacy level of zero in
// #mi::neuraylib::ITransaction::store().
// #define MI_NEURAYLIB_DEPRECATED_ITRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
// Enables the deprecated default privacy level of zero in
// #mi::neuraylib::IDice_transaction::store().
// #define MI_NEURAYLIB_DEPRECATED_IDICE_TRANSACTION_STORE_DEFAULT_PRIVACY_LEVEL_ZERO
// Enables the deprecated using declarations for identifiers formerly in namespace mi.
// #define MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
// Prefixes names of deprecated MetaSL methods unless deprecated MetaSL features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_METASL
#define MI_NEURAYLIB_DEPRECATED_METHOD_METASL(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_METHOD_METASL(X) deprecated_##X
#endif
// Prefixes names of deprecated MetaSL classes unless deprecated MetaSL features are enabled.
#ifdef MI_NEURAYLIB_DEPRECATED_METASL
#define MI_NEURAYLIB_DEPRECATED_CLASS_METASL(X) X
#else
#define MI_NEURAYLIB_DEPRECATED_CLASS_METASL(X) deprecated_##X
#endif
// end group mi_neuray_version
#endif // MI_NEURAYLIB_VERSION_H
Defines
- #define 15
- API version number. More...
- #define "neuray API v13"
- Type of plugins for the Neuray API. More...
- #define "2016"
- product version number in a string representation, such as "2.0". More...
- #define 4
- Neuray API major version number. More...
- #define 0
- Neuray API minor version number. More...
- #define
- Neuray API major and minor version number and qualifier in a string representation, such as "2.0" or "2.0-beta2". More...
- #define ""
- Neuray API version qualifier. More...
- #define
- Neuray API major and minor version number without qualifier in a string representation, such as "2.0". More...