#include "PxPhysXConfig.h"
#include "PxDeletionListener.h"
#include "foundation/PxTransform.h"
#include "PxShape.h"
#include "cloth/PxClothTypes.h"
#include "cloth/PxClothFabric.h"
Go to the source code of this file.
Classes | |
class | PxPhysics |
Abstract singleton factory class used for instancing objects in the Physics SDK. More... | |
Functions | |
PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV | PxRegisterArticulations (physx::PxPhysics &physics) |
Enables the usage of the articulations feature. This function is called automatically inside PxCreatePhysics(). On resource constrained platforms, it is possible to call PxCreateBasePhysics() and then NOT call this function to save on code memory if your application does not use articulations. In this case the linker should strip out the relevant implementation code from the library. If you need to use articulations but not some other optional component, you shoud call PxCreateBasePhysics() followed by this call. | |
PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV | PxRegisterHeightFields (physx::PxPhysics &physics) |
Enables the usage of the heightfield feature. | |
PX_DEPRECATED PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV | PxRegisterLegacyHeightFields (physx::PxPhysics &physics) |
Enables the usage of the legacy heightfield feature. | |
PX_DEPRECATED PX_INLINE void PX_CALL_CONV | PxRegisterUnifiedHeightFields (physx::PxPhysics &physics) |
Enables the usage of the unified heightfield feature. | |
PX_DEPRECATED PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV | PxRegisterCloth (physx::PxPhysics &physics) |
Enables the usage of the cloth feature. This function is called automatically inside PxCreatePhysics(). On resource constrained platforms, it is possible to call PxCreateBasePhysics() and then NOT call this function to save on code memory if your application does not use cloth. In this case the linker should strip out the relevant implementation code from the library. If you need to use cloth but not some other optional component, you shoud call PxCreateBasePhysics() followed by this call. | |
PX_DEPRECATED PX_C_EXPORT PX_PHYSX_CORE_API void PX_CALL_CONV | PxRegisterParticles (physx::PxPhysics &physics) |
Enables the usage of the particles feature. This function is called automatically inside PxCreatePhysics(). (deprecated) On resource constrained platforms, it is possible to call PxCreateBasePhysics() and then NOT call this function to save on code memory if your application does not use particles. In this case the linker should strip out the relevant implementation code from the library. If you need to use particles but not some other optional component, you shoud call PxCreateBasePhysics() followed by this call. | |
PX_C_EXPORT PX_PHYSX_CORE_API physx::PxPhysics *PX_CALL_CONV | PxCreateBasePhysics (physx::PxU32 version, physx::PxFoundation &foundation, const physx::PxTolerancesScale &scale, bool trackOutstandingAllocations=false, physx::PxPvd *pvd=NULL) |
Creates an instance of the physics SDK with minimal additional components registered. | |
PX_INLINE physx::PxPhysics * | PxCreatePhysics (physx::PxU32 version, physx::PxFoundation &foundation, const physx::PxTolerancesScale &scale, bool trackOutstandingAllocations=false, physx::PxPvd *pvd=NULL) |
Creates an instance of the physics SDK. | |
PX_C_EXPORT PX_PHYSX_CORE_API physx::PxPhysics &PX_CALL_CONV | PxGetPhysics () |
Retrieves the Physics SDK after it has been created. |