PxInitExtensions

Defined in include/extensions/PxExtensionsAPI.h

bool PxInitExtensions(physx::PxPhysics &physics, physx::PxPvd *pvd)

Initialize the PhysXExtensions library.

This should be called before calling any functions or methods in extensions which may require allocation.

Note

This function does not need to be called before creating a PxDefaultAllocator object.

Parameters
  • physics – a PxPhysics object

  • pvd – an PxPvd (PhysX Visual Debugger) object