PxParticleReadData.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_PARTICLESYSTEM_NXPARTICLEREADDATA
15 #define PX_PARTICLESYSTEM_NXPARTICLEREADDATA
16 
21 #include "PxLockedData.h"
22 #include "foundation/PxFlags.h"
23 #include "PxParticleFlag.h"
24 
25 #ifndef PX_DOXYGEN
26 namespace physx
27 {
28 #endif
29 
35  {
36  enum Enum
37  {
42  ePOSITION_BUFFER = (1<<0),
43 
48  eVELOCITY_BUFFER = (1<<1),
49 
57  eREST_OFFSET_BUFFER = (1<<2),
58 
63  eFLAGS_BUFFER = (1<<3),
64 
69  eCOLLISION_NORMAL_BUFFER = (1<<4),
70 
75  eCOLLISION_VELOCITY_BUFFER = (1<<5),
76 
81  eDENSITY_BUFFER = (1<<6)
82  };
83  };
84 
92 
93 
100 
119  {
120  public:
121 
126 
131 
137 
142 
147 
152 
157 
165 
174 
179  virtual PxDataAccessFlags getDataAccessFlags() = 0;
180 
185  virtual void unlock() = 0;
186 
190  virtual ~PxParticleReadData() {}
191 
192  };
193 
194 #ifndef PX_DOXYGEN
195 } // namespace physx
196 #endif
197 
199 #endif


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