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_EXTENSIONS_API_H
15#define PX_EXTENSIONS_API_H
16/** \addtogroup extensions
17 @{
18*/
19
20#include "foundation/PxErrorCallback.h"
21
22#include "extensions/PxDefaultAllocator.h"
23
24#include "extensions/PxConstraintExt.h"
25
26#include "extensions/PxDistanceJoint.h"
27#include "extensions/PxFixedJoint.h"
28#include "extensions/PxPrismaticJoint.h"
29#include "extensions/PxRevoluteJoint.h"
30#include "extensions/PxSphericalJoint.h"
31#include "extensions/PxD6Joint.h"
32
33#include "extensions/PxDefaultSimulationFilterShader.h"
34#include "extensions/PxDefaultErrorCallback.h"
35#include "extensions/PxDefaultStreams.h"
36
37#include "extensions/PxRigidBodyExt.h"
38#include "extensions/PxShapeExt.h"
39#include "extensions/PxParticleExt.h"
40#include "extensions/PxTriangleMeshExt.h"
41#include "extensions/PxSerialization.h"
42#include "extensions/PxVisualDebuggerExt.h"
43#include "extensions/PxStringTableExt.h"
44
45#include "extensions/PxDefaultCpuDispatcher.h"
46
47#include "extensions/PxSmoothNormals.h"
48
49#include "extensions/PxSimpleFactory.h"
50
51#include "extensions/PxVisualDebuggerExt.h"
52
53#include "extensions/PxStringTableExt.h"
54
55#include "extensions/PxClothFabricCooker.h"
56
57#include "extensions/PxBroadPhaseExt.h"
58
59#include "extensions/PxClothMeshQuadifier.h"
60
61#ifdef PX_PS3
62#include "extensions/ps3/PxPS3Extension.h"
63#include "extensions/ps3/PxDefaultSpuDispatcher.h"
64#endif
65
66#ifdef PX_WIIU
67#include "extensions/wiiu/PxWiiUExtension.h"
68#include "extensions/wiiu/PxWiiUFileHandle.h"
69#endif
70
71/** \brief Initialize the PhysXExtensions library.
72
73This should be called before calling any functions or methods in extensions which may require allocation.
74\note This function does not need to be called before creating a PxDefaultAllocator object.
75
76\param physics a PxPhysics object
77
78@see PxCloseExtensions PxFoundation PxPhysics
79*/
80
81PX_C_EXPORT bool PX_CALL_CONV PxInitExtensions(physx::PxPhysics& physics);
82
83/** \brief Shut down the PhysXExtensions library.
84
85This function should be called to cleanly shut down the PhysXExtensions library before application exit.
86
87\note This function is required to be called to release foundation usage.
88
89@see PxInitExtensions
90*/
91
92PX_C_EXPORT void PX_CALL_CONV PxCloseExtensions();
93
94/** @} */
95#endif // PX_EXTENSIONS_API_H
96