PxClient.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA CORPORATION and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
9  */
10 // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
11 // Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
12 
13 
14 #ifndef PX_PHYSICS_NX_CLIENT
15 #define PX_PHYSICS_NX_CLIENT
16 
17 #include "foundation/PxFlags.h"
18 
19 #ifndef PX_DOXYGEN
20 namespace physx
21 {
22 #endif
23 
29 typedef PxU8 PxClientID;
30 
36 static const PxClientID PX_DEFAULT_CLIENT = 0;
37 
43 static const PxClientID PX_MAX_CLIENTS = 128;
44 
51 {
52  enum Enum
53  {
59  eREPORT_FOREIGN_OBJECTS_TO_TRIGGER_NOTIFY = (1<<0),
65  eREPORT_FOREIGN_OBJECTS_TO_CONTACT_NOTIFY = (1<<1),
71  eREPORT_FOREIGN_OBJECTS_TO_CONSTRAINT_BREAK_NOTIFY = (1<<2),
75  eREPORT_FOREIGN_OBJECTS_TO_SCENE_QUERY = (1<<3)
76  };
77 };
78 
86 
87 
88 
94 {
95  enum Enum
96  {
102  eREPORT_TO_FOREIGN_CLIENTS_TRIGGER_NOTIFY = (1<<0),
108  eREPORT_TO_FOREIGN_CLIENTS_CONTACT_NOTIFY = (1<<1),
114  eREPORT_TO_FOREIGN_CLIENTS_CONSTRAINT_BREAK_NOTIFY = (1<<2),
118  eREPORT_TO_FOREIGN_CLIENTS_SCENE_QUERY = (1<<3)
119  };
120 };
121 
129 
130 #ifndef PX_DOXYGEN
131 } // namespace physx
132 #endif
133 
134 #endif


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com