APEX Framework: ApexDefs.h Source File

NVIDIA APEX

ApexDefs.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef APEX_DEFS_H
00013 #define APEX_DEFS_H
00014 
00023 #include "PhysXSDKVersion.h"
00024 
00049 #include "foundation/PxPreprocessor.h"
00050 
00051 #define APEX_SDK_VERSION 1
00052 #define APEX_SDK_RELEASE 0x01040100
00053 
00054 #if USE_RTTI
00055 #define DYNAMIC_CAST(type) dynamic_cast<type>
00056 #else
00057 #define DYNAMIC_CAST(type) static_cast<type>
00058 #endif
00059 
00061 #if defined(EXCLUDE_CUDA) && (EXCLUDE_CUDA > 0)
00062 #define APEX_CUDA_SUPPORT 0
00063 #else
00064 #define APEX_CUDA_SUPPORT (PX_SUPPORT_GPU_PHYSX) && !(PX_LINUX)
00065 #endif
00066 
00068 #if !defined(EXCLUDE_PARTICLES) && PX_WINDOWS
00069 #define APEX_USE_PARTICLES 1
00070 #else
00071 #define APEX_USE_PARTICLES 0
00072 #endif
00073 
00075 #ifndef APEX_UE4
00076 #define APEX_UE4 0
00077 #endif
00078 
00079 
00080 #define APEX_DEFAULT_NO_INTEROP_IMPLEMENTATION 1
00081 
00082 
00083 #endif // APEX_DEFS_H

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.