NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxPhysics.h File Reference

NVIDIA PhysX SDK 3.4 API

PxPhysics.h File Reference

#include "PxPhysXConfig.h"
#include "PxDeletionListener.h"
#include "foundation/PxTransform.h"
#include "PxShape.h"
#include "cloth/PxClothTypes.h"
#include "cloth/PxClothFabric.h"

Include dependency graph for PxPhysics.h:

PxPhysXConfig.hPxDeletionListener.hfoundation/PxTransform.hPxShape.hcloth/PxClothTypes.hcloth/PxClothFabric.hcommon/PxPhysXCommonConfig.hfoundation/Px.hfoundation/PxSimpleTypes.hfoundation/PxPreprocessor.hcommon/PxBase.hPxSerialFramework.hPxCollection.hcommon/PxTypeInfo.hfoundation/PxFlags.hfoundation/PxQuat.hfoundation/PxPlane.hfoundation/PxVec3.hfoundation/PxMath.hfoundation/PxIntrinsics.hfoundation/PxAssert.hgeometry/PxGeometry.hgeometry/PxGeometryHelpers.hPxBoxGeometry.hPxSphereGeometry.hPxCapsuleGeometry.hPxPlaneGeometry.hPxConvexMeshGeometry.hPxTriangleMeshGeometry.hPxHeightFieldGeometry.hfoundation/PxUnionCast.hgeometry/PxMeshScale.hcommon/PxCoreUtilityTypes.hgeometry/PxConvexMesh.hfoundation/PxMat33.hfoundation/PxMemory.h

This graph shows which files directly or indirectly include this file:

PxPhysicsAPI.hPxRigidActorExt.hPxExtensionsAPI.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.



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