PxCollectionExt.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_COLLECTION_EXT_H
15 #define PX_COLLECTION_EXT_H
16 
20 #include "PxPhysXConfig.h"
21 #include "common/PxCollection.h"
22 
23 #ifndef PX_DOXYGEN
24 namespace physx
25 {
26 #endif
27 
29  {
30  public:
43  static void releaseObjects(PxCollection& collection);
44 
54  static void remove(PxCollection& collection, PxType concreteType, PxCollection* to = NULL);
55 
56 
71  static PxCollection* createCollection(PxPhysics& physics);
72 
89  static PxCollection* createCollection(PxScene& scene);
90  };
91 
92 #ifndef PX_DOXYGEN
93 } // namespace physx
94 #endif
95 
97 #endif


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