HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rtcore_config.h
Go to the documentation of this file.
1 // Copyright 2009-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #pragma once
5 
6 #define RTC_VERSION_MAJOR 3
7 #define RTC_VERSION_MINOR 13
8 #define RTC_VERSION_PATCH 5
9 #define RTC_VERSION 31305
10 #define RTC_VERSION_STRING "3.13.5"
11 
12 #define RTC_MAX_INSTANCE_LEVEL_COUNT 4
13 
14 #define EMBREE_MIN_WIDTH 0
15 #define RTC_MIN_WIDTH EMBREE_MIN_WIDTH
16 
17 #if !defined(EMBREE_STATIC_LIB)
18 /* #undef EMBREE_STATIC_LIB */
19 #endif
20 #define EMBREE_API_NAMESPACE
21 
22 #if defined(EMBREE_API_NAMESPACE)
23 # define RTC_NAMESPACE embree_3_13_5_sidefx
24 # define RTC_NAMESPACE_BEGIN namespace embree_3_13_5_sidefx {
25 # define RTC_NAMESPACE_END }
26 # define RTC_NAMESPACE_USE using namespace embree_3_13_5_sidefx;
27 # define RTC_API_EXTERN_C
28 # undef EMBREE_API_NAMESPACE
29 #else
30 # define RTC_NAMESPACE_BEGIN
31 # define RTC_NAMESPACE_END
32 # define RTC_NAMESPACE_USE
33 # if defined(__cplusplus)
34 # define RTC_API_EXTERN_C extern "C"
35 # else
36 # define RTC_API_EXTERN_C
37 # endif
38 #endif
39 
40 #if defined(ISPC)
41 # define RTC_API_IMPORT extern "C" unmasked
42 # define RTC_API_EXPORT extern "C" unmasked
43 #elif defined(EMBREE_STATIC_LIB)
44 # define RTC_API_IMPORT RTC_API_EXTERN_C
45 # define RTC_API_EXPORT RTC_API_EXTERN_C
46 #elif defined(_WIN32)
47 # define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
48 # define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
49 #else
50 # define RTC_API_IMPORT RTC_API_EXTERN_C
51 # define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
52 #endif
53 
54 #if defined(RTC_EXPORT_API)
55 # define RTC_API RTC_API_EXPORT
56 #else
57 # define RTC_API RTC_API_IMPORT
58 #endif